添加翻滚逻辑处理
This commit is contained in:
parent
98f6454670
commit
c665a0080a
@ -1246,9 +1246,10 @@ void Human::DoSkill()
|
|||||||
ResetSkill();
|
ResetSkill();
|
||||||
playing_skill = true;
|
playing_skill = true;
|
||||||
last_use_skill_frameno_ = room->GetFrameNo();
|
last_use_skill_frameno_ = room->GetFrameNo();
|
||||||
#if 0
|
if (skill_meta_->i->skill_target() == kST_Self
|
||||||
skill_target_id = GetEntityUniId();
|
) {
|
||||||
#endif
|
skill_target_id = GetEntityUniId();
|
||||||
|
}
|
||||||
Entity* entity = room->GetEntityByUniId(skill_target_id);
|
Entity* entity = room->GetEntityByUniId(skill_target_id);
|
||||||
if (entity && entity->IsEntityType(ET_Player)) {
|
if (entity && entity->IsEntityType(ET_Player)) {
|
||||||
Human* hum = (Human*)entity;
|
Human* hum = (Human*)entity;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user