Aller au contenu

Photo

Adding Sustained Magical Abilities to an Item


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
shadow5973

shadow5973
  • Members
  • 48 messages
I have been trying to give a greatsword the Death Magic ability. I tried setting the activation and deactivation lines to "case EVENT_TYPE_EQUIP" and "case EVENT_TYPE_UNEQUIP" and left the rest of the script unchanged, but it didn't have any effect in game. Does anyone know what else I need to do the the script to accomplish this?

Edit: It thought that I might need to change the line "case EVENT_TYPE_SPELLSCRIPT_PENDING" to another case event, but I am unable to figure out what? Or even if this line needs to be changed at all?

Modifié par shadow5973, 17 novembre 2010 - 04:14 .


#2
TimelordDC

TimelordDC
  • Members
  • 923 messages
Have you checked that your event overrides are in fact, working? Like putting a PrintToLog or DisplayFloatyMessage and checking that they are written to the log file/displayed.



I also vaguely remember that spell casting checks for the mage class so that be where it is breaking.