[Item Script] Low HP Trigger

LordJasz

New member
Messages
8
Points
0
Can someone help me with a script for a item?

What I want is:
Script Basic for the Items
When a player suffer damage and  reach 'X'HP he's healed by 'Y'HP.

And...
If possible a buff trigger for the same item but 3 versions (3 different items but with the same above script + script below).

Like: 
Item 1: Heal 'Y'% HP + Cast : Kyrie Eleison [Lv. 10]
Item 2: Heal 'Y'% HP + Cast : Safety Wall [Lv. 10] (no need gems)
Item 3: Heal 'Y'% HP + Cast : Blessing [Lv.10] + AgiUp [Lv. 10]
Trigger CoolDown: 5 Minutes

Is it possible?

 
Hi, everything you need is in the Doc folder of herc. 
how can you make to base on %? its in the DOC. (MaxHp)

this example is using 5%

Code:
set t, MaxHp * 0.05;
while(Hp <  t){
do this
sleep for cooldown or you can use gettimetick just read the docs.
}
 
Last edited by a moderator:
Back
Top