Пример #1
0
 def queue(user, targets):
     lastAnim = user.spr.curAnim
     user.BC.eventQueue.queue(event.ChangeAnimation(user.spr, "idle"))
     user.BC.eventQueue.queue(event.BattlerStepForward(user, 2))
     user.BC.eventQueue.queue(event.PlayAnimation(user.spr, "attack"))
     user.BC.eventQueue.queue(Finale(user, targets))
     user.BC.eventQueue.queue(event.ChangeAnimation(user.spr, "idle"))
     user.BC.eventQueue.queue(event.BattlerReturn(user))
     user.BC.eventQueue.queue(event.ChangeAnimation(user.spr, lastAnim))
Пример #2
0
 def queue(user, target):
     user.BC.UI.create_message(Adagio.name())
     lastAnim = user.spr.curAnim
     user.BC.eventQueue.queue(event.ChangeAnimation(user.spr, "idle"))
     user.BC.eventQueue.queue(event.JumpInPlace(user.BC.eventQueue, user.spr))
     user.BC.eventQueue.queue(event.BattlerStepForward(user, 2))
     user.BC.eventQueue.queue(event.PlayAnimation(user.spr, "attack"))
     user.BC.eventQueue.queue(Adagio(user, target))
     user.BC.eventQueue.queue(event.ChangeAnimation(user.spr, "idle"))
     user.BC.eventQueue.queue(event.BattlerReturn(user))
     user.BC.eventQueue.queue(event.ChangeAnimation(user.spr, lastAnim))
Пример #3
0
 def queue(user, target):
     lastAnim = user.spr.curAnim
     user.attr['sp'] -= db.Skill.dic["Double Cut"].spCost
     user.BC.eventQueue.queue(event.ChangeAnimation(user.spr, "idle"))
     user.BC.eventQueue.queue(event.JumpInPlace(user.BC.eventQueue, user.spr))
     user.BC.eventQueue.queue(event.BattlerStepForward(user, 2))
     user.BC.eventQueue.queue(event.PlayAnimation(user.spr, "attack"))
     user.BC.eventQueue.queue(Attack(user, target))
     user.BC.eventQueue.queue(event.ChangeAnimation(user.spr, lastAnim))
     user.BC.eventQueue.queue(event.PlayAnimation(user.spr, "attack"))
     user.BC.eventQueue.queue(Attack(user, target))
     user.BC.eventQueue.queue(event.ChangeAnimation(user.spr, "idle"))
     user.BC.eventQueue.queue(event.BattlerReturn(user))
     user.BC.eventQueue.queue(event.ChangeAnimation(user.spr, lastAnim))