Skip to content

給你測試用 #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 8, 2012
Merged

給你測試用 #13

merged 5 commits into from
Jan 8, 2012

Conversation

wingzero0
Copy link

加了防禦的state,但沒有防禦效果(還沒有時間做)

unknown added 3 commits January 8, 2012 01:21
	add STATEIDLE

KeyboardControl.cpp .h:
	"space" key will triger the defense pose
	AttackEnemy: beOutShot => shot_code
@wingzero0
Copy link
Author

防禦做好了,也調了好多音效的部份.

unknown added 2 commits January 8, 2012 17:26
	add bossStateMachine attribute
@wingzero0
Copy link
Author

交給你了,現在剩npc的設置地點,和npc的發呆

我在AIControl裏,多加了個bossStateMachine,它只是一個變數而已,它會指向npcStateMachineList裏的董卓,詳見

int AIControl::AddBossNPC(ACTORid npc, char * ActionFilename){
ActorStateMachine* stm = new ActorStateMachine(npc, ActionFilename);
this->npcStateMachineList.push_back(stm);
this->bossStateMachine = stm;
this->bossStateMachine->life = 100;
return 0;
}

最後,如果可以,請把npc的小兵和董卓的難度分開(就是雙方在近距離時,小兵很常發呆,但董卓就不斷追著打呂布)

麻煩你啦~~

trantorLiu pushed a commit that referenced this pull request Jan 8, 2012
@trantorLiu trantorLiu merged commit 1527fb3 into trantorLiu:master Jan 8, 2012
trantorLiu pushed a commit that referenced this pull request Jan 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants