pz_neko

Untitled

Feb 8th, 2018
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #通常攻撃コンボゲージシステム
  2. on damage:
  3. attacker is holding sword
  4. if {combo.%attacker%} is more than 0:
  5. set damage to damage * (1+{combo.%attacker%}/4)
  6. message "<yellow>Combo!! +%{combo.%attacker%}%" to attacker
  7. message "<pink>Combo!! +%{combo.%attacker%}%" to victim
  8. set {combo.%attacker%} to {combo.%attacker%} + 1
  9. set {_combo} to {combo.%attacker%}
  10. wait 15 ticks
  11. if {_combo} is {combo.%attacker%}:
  12. set {combo.%attacker%} to 0
Advertisement
Add Comment
Please, Sign In to add comment