Quote:
Originally Posted by Deas_Voice
PHP Code:
... temp.powerdmg = int(random(power[0],power[1])); ... //go to health system and heal using the amount 'random(int(power[0],power[1]))'
|
Hehe
Did you make sure that the player you're testing this on has the spell system weapon?
And if you have your own firing system (if you use
disableweapons() and/or set your D-weapon differently) make sure to call
onWeaponFired() in "Spell/Test", and make sure the function in public (
public function onWeaponFired() {)