(cmd string, waitSeconds ...float64)
| 157 | }) |
| 158 | } |
| 159 | func (p ScriptParty) Command(cmd string, waitSeconds ...float64) { |
| 160 | p.each(func(a ScriptActor) { |
| 161 | a.Command(cmd, waitSeconds...) |
| 162 | }) |
| 163 | } |
| 164 | func (p ScriptParty) TrainSkill(skillName string, skillLevel int) { |
| 165 | p.each(func(a ScriptActor) { |
| 166 | a.TrainSkill(skillName, skillLevel) |