Disable self Healing
Disable self Healing
Hi
I will travel to the KS-Ini without leave the Mount
but all the time the bot jump down the mountain
and the character is in the Valley he leave the mount
for self healing
Is there a possibility to switch on or off the self healing
in the Waypoint script ??
Mike
sry for my bad English
I will travel to the KS-Ini without leave the Mount
but all the time the bot jump down the mountain
and the character is in the Valley he leave the mount
for self healing
Is there a possibility to switch on or off the self healing
in the Waypoint script ??
Mike
sry for my bad English
Re: Disable self Healing
Actually I'm surprised we don't have an option for that. It might be as simple as adding a check "if you are in travel mode and mounted then done cast".
You could do it using the <onPreSkillCast> section of your profile. Just add
You could do it using the <onPreSkillCast> section of your profile. Just add
Code: Select all
<onPreSkillCast>
if __WPL.Type == WPT_TRAVEL and player.Mounted then
return false
else
return true
end
</onPreSkillCast>
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Disable self Healing
@rock5
I have insert the Code in my Profile but it don't work
Mike
I have insert the Code in my Profile but it don't work
Code: Select all
<skills_druid>
<skill name="DRUID_RECOVER" modifier="" hotkey="VK_2" priority="90" hpper="30" />
<skill name="DRUID_EARTH_ARROW" modifier="" hotkey="VK_3" priority="80" />
</skills_druid>
<onPreSkillCast>
if __WPL.Type == WPT_TRAVEL and player.Mounted then
return false
else
return true
end
</onPreSkillCast>
<onLoad><![CDATA[
-- Additional Lua code to execute after loading the profile
-- and before the bot starts. e.g. You could overwrite profile settings here
-- like: changeProfileOption("HP_REST", 60);
]]></onLoad>
Mike
Re: Disable self Healing
Is the waypoint type travel?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Disable self Healing
@rock5
This is the Waypoint snippet from Merchant Pancer to the Ini
Perhaps i need this ??
Mike
This is the Waypoint snippet from Merchant Pancer to the Ini
Code: Select all
<!-- # 214 --><waypoint x="-16650" z="11463" type="TRAVEL" tag="toKS"> </waypoint>
<!-- # 215 --><waypoint x="-16836" z="11573" type="TRAVEL"> </waypoint>
<!-- # 216 --><waypoint x="-17141" z="11250" type="TRAVEL"> </waypoint>
<!-- # 217 --><waypoint x="-17448" z="10703" type="TRAVEL"> </waypoint>
<!-- # 218 --><waypoint x="-17668" z="10680" type="TRAVEL">
RoMScript("SendChatMessage(\"I'am in the Valley\",\"PARTY\",0,\"CharName\")")
player:update();
</waypoint>
<!-- # 219 --><waypoint x="-17936" z="10586" type="TRAVEL"> </waypoint>
<!-- # 220 --><waypoint x="-18160" z="10707" type="TRAVEL"> </waypoint>
<!-- # 221 --><waypoint x="-18288" z="11068" type="TRAVEL"> </waypoint>
<!-- # 222 --><waypoint x="-18416" z="11681" type="TRAVEL"> </waypoint>
<!-- # 223 --><waypoint x="-18546" z="12468" type="TRAVEL"> </waypoint>
<!-- # 224 --><waypoint x="-18549" z="12522" type="TRAVEL">
changeProfileOption("MAX_TARGET_DIST", 90);
player:update();
yrest(15000);
player:update();
</waypoint>
Code: Select all
<onPreSkillCast><![CDATA[
if __WPL.Type == WPT_TRAVEL and player.Mounted then
return false
else
return true
end
]]></onPreSkillCast>
Re: Disable self Healing
If you mean the WP posted here
I think you will find he added in the heal code I suguested for after you jump off the cliff.
So look for that code and just remove it if you don't want to get healed.
look for
and just remove all code between the > </
> remove code from here </waypoint>
If it was me I'd just add in a player:mount() after the code so you mount again after hp is full.
I think you will find he added in the heal code I suguested for after you jump off the cliff.
So look for that code and just remove it if you don't want to get healed.
look for
Code: Select all
if player.Class2 ==
> remove code from here </waypoint>
If it was me I'd just add in a player:mount() after the code so you mount again after hp is full.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Disable self Healing
@Lisa
In my Script I have remove this part of Code. But my char leave the Mount and heal self
And sometimes you have the Problem Mobs follow you, and you need to fight and to Heal at the same time.
I think this is not necessary if your char don leave the mount you travel to the Ini and you can heal at
the Start-Position inside KS
Mike
sry for my bad English
In my Script I have remove this part of Code. But my char leave the Mount and heal self
Code: Select all
if player.Class1 == 5 or player.Class2 == 5 then -- priest
while (80 > player.HP/player.MaxHP*100) do
player:cast("PRIEST_URGENT_HEAL");
yrest(2300);
end
end
if player.Class1 == 8 or player.Class2 == 8 then -- druid
while (80 > player.HP/player.MaxHP*100) do
player:cast("DRUID_RECOVER");
yrest(2300);
end
end
I think this is not necessary if your char don leave the mount you travel to the Ini and you can heal at
the Start-Position inside KS
Mike
sry for my bad English
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 2 guests