Aller au contenu

Photo

Creating item ability.


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

#1
Kaillan

Kaillan
  • Members
  • 14 messages
if there is a comprehensive guide to this, firstly, i'd be very much appreciated.

but my question is, where do i write the script that will catch an items ability and handle the event? this is an activated ability not an item script.

#2
SnakeChomp

SnakeChomp
  • Members
  • 2 messages
Just in case you haven't figured this out by now, items with the UNIQUE_ABILITY thing send the EVENT_TYPE_UNIQUE_POWER event to the module script. From there you can figure out which item was used (via the item tag) and take an appropriate action.