Aller au contenu

Photo

Healing and/or Mana click effect item with a refresh timer - Is it possible?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Jedi0309

Jedi0309
  • Members
  • 35 messages
Is it possible to create custom healing and/or mana items that have the same effects as their respective counterparts, but make them an infinite  item with a refresh timer?  It would work like the scroll you use to stop the demon in the Circle tower from corrupting the other mages, except it would heal you or restore mana before timing out for 10 secs.  I'm not a programmer, and there's only so much you can figure out with the toolset when you have not idea of what you're doing.Posted Image

#2
Jab0r

Jab0r
  • Members
  • 406 messages
Presumable it should be relatively straightforward - take a look an _Ability_Scripts/Items to see how the existing potions and such are implemented.

#3
Jedi0309

Jedi0309
  • Members
  • 35 messages
I can't figure it out. I can get the item to activate with a refresh timer, but it doesn't do anything other than cause the character to strike a pose. The activate ability is what it seems to use to determine if the item heals, restores mana, etc.. When I set it to act as a healing poltice, it acts as a stackable item that heals. When set as a unique_unlimited_use item, I just strike a pose and the item refreshes itself after 5 secs.



I took a look in the _Ability_Scripts folder as you suggested, but I don't have any idea as to what exactly to look for. I'm not a programmer, so programming code is like a foreign language to me. I need to figure out how to make it a unique item with unlimited uses and act as a healing poltice, but that might require some coding which is beyond my tiny abilities.



I appreciate the suggestion Jab0r, but I need a bit more direction since I don't exactly know what I'm doing. Can anyone else offer some pointers, or help us out?