Looking for ideas on how to accomplish this without having to change around code or cause any exploitation.
I have something similar on a wieldable item that randomly does a heal proc so it would be something based off that.
Any help would be great!
Code:
Name: 'Anduril Heal Proc', VNum: [20043], RNum: [ 2118]
Trigger Intended Assignment: Objects
Trigger Type: Random , Numeric Arg: 100, Arg list: None
Commands:
eval actor %self.worn_by%
if !%actor%
halt
end
if %actor.pos% != Fighting
halt
end
switch %random.8%
case 1
if !%actor%
halt
end
%echo% %self.shortdesc% briefly glows with a blue aura.
%damage% %actor% -55
break
case 2
if !%actor%
halt
end
%echo% %self.shortdesc% briefly glows with a blue aura.
%damage% %actor% -60
break
case 3
if !%actor%
halt
end
%echo% %self.shortdesc% briefly glows with a blue aura.
%damage% %actor% -65
break
case 4
if !%actor%
halt
end
%echo% %self.shortdesc% briefly glows with a blue aura.
%damage% %actor% -70
break
default
break
done