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