Code: Select all
<onSkillCast><![CDATA[
player:updateBuffs("player")
if player.Class1 == CLASS_KNIGHT then
if not player:hasBuff("Enhanced Armor") then
player:cast("KNIGHT_ENHANCED_ARMOR");
end
if not player:hasBuff("Holy Seal") then
player:cast("KNIGHT_HOLY_SEAL");
end
end
if player.Class1 == CLASS_WARRIOR then
if not player:hasBuff("Blocking Stance") then
player:cast("WARRIOR_BLOCKING_STANCE");
end
if not player:hasBuff("Enhanced Armor") then
player:cast("KNIGHT_ENHANCED_ARMOR");
end
if player:hasBuff("Stun") then
player:cast("WARRIOR_IGNORE_PAIN");
end
end
assistPet = CEggPet(settings.profile.options.EGGPET_ASSIST_SLOT)
if( 15 > player.HP/player.MaxHP*100 ) then
assistPet:Return();
end
]]></onSkillCast>
and it worked just fine before.
the knight skill works, the anti stun works, just that 1 fucked up skill refuses xd
any insight would be lovely
botje