Find
You are looking at a shockwave
Created by
Chaotic Bob
, last updated 14 Apr 2008
Code
##tickloc:runsub ticked;
##ticked:
var $fromhit to $actor's slot1;
var $tohit to $actor's slot2;
var $weapon to $actor's slot3;
say 'msg',"[$actor] is cast by [$weapon] towards [$tohit]!";
var $hlth to $tohit's health;
take 3 from $hlth;
if $hlth < 0 then zeroit;
set $tohit's health to $hlth;
say 'msg',"[$tohit] is struck by a powerful wave of force from [$actor]!";
set $actor's loc to $weapon;
unhost $actor;
relook $loc;
switch $actor off;
##zeroit:
$hlth = 0;