rendered paste bodyon 1:TEXT:blizzard*:%BattleChannel:{
if ((%fightera == $nick)) {
if ((%mpa >= 75)) { msg %BattleChannel 12 %fightera used 75 MP to use Blizzard! | dec %mpa 75 | msg %BattleChannel 12 $+ %fightera casts 10Blizzard12 on %fighteri $+ . | blizzard }
else { msg %BattleChannel 12 %fightera $+ , you don't have enough MP to use Blizzard! }
}
}
alias blizzard {
if (%blizz.combo <= 5) {
set -s %dam $rand(25,50)
if ($readini(batscore.ini, %fightera, accessory) == robe of magi) inc -s %dam 25
msg %BattleChannel 12An ice crystal pierces %fighteri and does %dam points of damage!
inc -s %damtotal %dam
unset %dam
}
else {
unset %blizz.combo
if ($readini(batscore.ini, %fighteri, accessory) == scarf of warmth) { msg %BattleChannel 12 $+ %fighteri $+ 's Scarf of Warmth reduced 10Blizzard12's damage! | dec -s %damtotal 50 }
msg %BattleChannel 13Altogether, %fightera inflicted %damtotal points of damage!
unset %damtotal
switch
}
}