This commit is contained in:
@@ -99,11 +99,12 @@ func (f *FightC) UseSkill(c common.PlayerI, id uint32) {
|
|||||||
for _, v := range f.GetInputByPlayer(c, false).CurrentPet.Skills {
|
for _, v := range f.GetInputByPlayer(c, false).CurrentPet.Skills {
|
||||||
if v.ID == int(id) {
|
if v.ID == int(id) {
|
||||||
ret.SkillEntity = v
|
ret.SkillEntity = v
|
||||||
|
f.actionChan <- ret
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
f.actionChan <- ret
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 玩家使用技能
|
// 玩家使用技能
|
||||||
|
|||||||
Reference in New Issue
Block a user