Hello,
I would like some directions of how to make a spell that works with this variations:
-Player cast a spell that works like a passive healing spell.
-It would have the same attributes as "exura sio" but without a fixed target.
-Player need to be on party to cast the spell.
-The heal can work like math.random. Example, math.random between 1 to 100, where between 1 to 10 heal happens, between 11 to 100 nothing happens.
-Everytime someone is healed from this spell, the target loses 100 mana.
-If math.random is between 1 to 10, it looks for player in the party that has lowest % of health of the moment and heals him.
-If every player in the party is with max health, nothing happens.
-The spell will be on loop for 1 minute.
-Also I would like to make possible only to cast the spell if player is using item x on weapon(id of some weapons) and item y on shield(id of some spellbooks)
->What would the spell do?
Player cast spell and at a random time heals party target that has lower % of health.
@Xikini, @Sarah Wesker, @Leo32, Can any of you guys help me out with this? Remember that I'm very noob at script, I might need a simple explanation or a example to try to create this spell.
I would like some directions of how to make a spell that works with this variations:
-Player cast a spell that works like a passive healing spell.
-It would have the same attributes as "exura sio" but without a fixed target.
-Player need to be on party to cast the spell.
-The heal can work like math.random. Example, math.random between 1 to 100, where between 1 to 10 heal happens, between 11 to 100 nothing happens.
-Everytime someone is healed from this spell, the target loses 100 mana.
-If math.random is between 1 to 10, it looks for player in the party that has lowest % of health of the moment and heals him.
-If every player in the party is with max health, nothing happens.
-The spell will be on loop for 1 minute.
-Also I would like to make possible only to cast the spell if player is using item x on weapon(id of some weapons) and item y on shield(id of some spellbooks)
->What would the spell do?
Player cast spell and at a random time heals party target that has lower % of health.
@Xikini, @Sarah Wesker, @Leo32, Can any of you guys help me out with this? Remember that I'm very noob at script, I might need a simple explanation or a example to try to create this spell.
Last edited: