Checking Nature's Power
Posted: Tue Nov 13, 2012 11:22 am
I was planning on doing some grinding on my druid, and after last night I learned that
I'll drain my NP very quickly with Earth Chain and Summon Sandstorm. I'd like to be able
to check it after leaving combat, but I've not yet figured out how to check it. I know it's
player.Nature, I'm just not sure how to use it. I know one of these files/posts I've read
had an example, I think using Urgent Heal, but I can't find it for the life of me.
Sorry in advance if I screwed that up horribly, the last time I did something like that was
when I was using making mob programs with ROM OLC for MUDs. Would that work? I've
got a lot of stuff to get done irl, so no time to test it right now.. but it looks like it'd work
in theory, assuming all of the syntaxes are right. Was planning on putting that in the
onLeaveCombat section, to maintain Nature's Power so Sandstorm and Earth Chain do
their full damage.
I'll drain my NP very quickly with Earth Chain and Summon Sandstorm. I'd like to be able
to check it after leaving combat, but I've not yet figured out how to check it. I know it's
player.Nature, I'm just not sure how to use it. I know one of these files/posts I've read
had an example, I think using Urgent Heal, but I can't find it for the life of me.
Code: Select all
if ( player.Nature < 3 ) then
player:cast("DRUID_RESTORE_LIFE");
else
if (player.Nature = 0 ) then
player:cast("DRUID_CURING_SEED");
player:cast("DRUID_RESTORE_LIFE");
player:cast("DRUID_RESTORE_LIFE");
end
endwhen I was using making mob programs with ROM OLC for MUDs. Would that work? I've
got a lot of stuff to get done irl, so no time to test it right now.. but it looks like it'd work
in theory, assuming all of the syntaxes are right. Was planning on putting that in the
onLeaveCombat section, to maintain Nature's Power so Sandstorm and Earth Chain do
their full damage.