SphereCommunity

Full Version: Edit armor on [Event]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi folks,

I have a problem here that i cant solve myself....


im trying to change the armor of the item, IF the type is t_armor_leather:

on=@itemequip
if (<act.type> == t_armor_leather)
act.armor += 10
endif

But it doesn't work!!! and i get this error:
02:46:ERROR:(dg_sistema.scp,871)Undefined keyword 'armor'

There is a way to change the armor of a leather armor?
Thanks!
use modar on the character:
Code:
on=@equip
src.modar += 10

on=@unequip
src.modar -= 10
Wrong section btw Big Grin
Yes indeed, this would be script help not help wanted, which is a recruitment forum
I'd move it but I can't
Linear Mode lol... I can't move it either.
Reference URL's