So I'm trying to make a quick and dirty fix for this spell to make it more useful for pve/pvp on a server I play on. I removed the polymorph and in lieu of that I added a simple feature where the caster will lose their bonuses if they cast a spell, but it automatically removes the bonuses a second after casting tensers. ![]()
Anyone know why?
//eLink and eHP are of course the ab from tensers, the bonus attacks + the temporary HP
object oSelf = OBJECT_SELF;
if(GetCurrentAction(oSelf) == ACTION_CASTSPELL)
{
DelayCommand(1.0, RemoveEffect(oSelf, eHP));
DelayCommand(1.0, RemoveEffect(oSelf, eLink));
}





Retour en haut







