SRL Archive - OSR Help

Not sure how to..


trials6112

2012-02-04 11:39:52

Well i want to implement a on death function of clicking on a spell and reselecting AutoCast on death.

I am trying to implement this Fix into a Soul Wars Script so its more versatile, currently it fully supports melee.

To make it simple for the time being, well as simple as i can make it, i want it to be able to AutoCast Ice Burst on death.

Anyone who can contribute with ideas i would be appreciative.

lilcmp1

2012-02-04 11:42:01

Is the problem knowing when you die? You can use a bitmap for the spell and right click it.

Nebula

2012-02-04 18:14:14

What the guy above me said.

If your having trouble knowing when you die, just do something like this:


Repeat
What the script does in the game;
Until((HPPercent)= 0)
if ((HPPercent) = 0) then
begin
Wait(RandomRange(4000,6000)); // To make sure you have respawned
AutoCast here;
end;