change my damage (wrestling) in morphing

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Saros

change my damage (wrestling) in morphing

Post by Saros »

I need change my damage (wrestling) when I morphing to something.


var weapfile := ReadConfigFile(":combat:itemdesc");
var my_dmg;

my_dmg := weapfile[caster.weapon.objtype].Damage; caster=who (I)
.
.
.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Post by MuadDib »

Use the wrestlehitscript to check for morphed state, and add it using randomint to the raw or base damage before dealing it
Saros

Post by Saros »

Thanks MuadDib
Post Reply