i need a animation script to raise a entitys defense and another one to reset it is this possible ?
void defense(float Def)
{// Sets defense value to main attacktype
void self = getlocalvar("self");
int DId = openborconstant("ATK_NORMAL");
changeentityproperty(self,"defense", DId, Def);
}
offense {type} {factor}
~Modifies damage output of given attack type by {factor}.
~For example: "offense shock 0.5" will decrease shock attacks to 50%, whereas "offense burn 1.5" will increase burn attacks to 150%.
~{factor} could be negative and make the attack give HP instead. For example: -1 makes the attack to give HP to opponent instead of damaging.
~Accepted types are:
all (all attacktypes are affected)
normal# (replace # with appropriate attacktype number)
shock
burn
steal
blast
freeze (only affects damage, freeze effect remains)