Find
You are looking at the cold blast
A weapon enchanted with a cold blast will sometimes cause a sudden explosion of frozen air at your opponent, causing chilling damage for 1 round.
Requires 16 mana for the initial charge. Each additional charge takes 1 mana.
Created by
thorn
, last updated 17 Feb 2007
Code
##tickloc:runsub ticked;
##ticked:
$fromhit = $actor's slot1;
$tohit = $actor's slot2;
$weapon = $actor's slot3;
say 'msg',"Suddenly, [$actor] explodes from [$weapon] towards [$tohit]!";
$hlth = $tohit's health;
take 3 from $hlth;
if $hlth < 0 then zeroit;
set $tohit's health to $hlth;
$t = $target;
$target = $tohit;
$verb = (struck,knocked back,blown back,blown over);
$adj = (powerful,freezinging,chillinging);
$noun = (wave,force,blast,rush,onslaught);
say 'freeze',"[$tohit] is $verb by a $adj $noun of cold!";
$target = $t;
if $hlth < 1 then saydead;
runsub alldone;
##zeroit:
$hlth = 0;
##saydead:
say 'msg',"[$tohit] is frozen to death.";
##alldone:
multiset $actor to "host=0,hosthow='',counter=0,health='$charge',loc='$weapon'";
relook $loc;
switch $actor off;