Search found 4 matches

by userforum
Tue Jun 01, 2010 1:28 pm
Forum: Runes of Magic
Topic: <onLeaveCombat> lua code
Replies: 8
Views: 2313

Re: <onLeaveCombat> lua code

doesnt work too.

well, i put the CD on the recover(druid) in 4 seconds, then it will check even if im already healing.

thx for the help
by userforum
Sun May 30, 2010 10:54 pm
Forum: Runes of Magic
Topic: <onLeaveCombat> lua code
Replies: 8
Views: 2313

Re: <onLeaveCombat> lua code

humm osrry, i just copy the code on the default profile

but it still doesnt work
since i tried a lot of lua code to make this work, i dont know more what to do

:(
by userforum
Sun May 30, 2010 9:10 pm
Forum: Runes of Magic
Topic: <onLeaveCombat> lua code
Replies: 8
Views: 2313

Re: <onLeaveCombat> lua code

It was just an example, i put a name to example what i need, because letting like player doesn't work...


--if( 15 > player.HP/player.MaxHP*100 ) then
-- player:cast("DRUID_RECOVER");

it doesn't work.

any new idea?
thxxx
by userforum
Sun May 30, 2010 6:38 pm
Forum: Runes of Magic
Topic: <onLeaveCombat> lua code
Replies: 8
Views: 2313

<onLeaveCombat> lua code

Hello, i need a little help ... im trying to make a lua code to cast druid_recover when i kill an enemy, since there is a delay to attack another enemy and it somethimes kill me. So, i tried to use the code that comes with the profile : --if( 15 > userforum.HP/userforum.MaxHP*100 ) then -- player:ca...