<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
else
if not player:hasBuff("Blocking Stance") then
player:cast("WARRIOR_BLOCKING_STANCE");
end
end
]]></onSkillCast>
for the warrior case it works, for knight it fucks up.
any ideas?
ps. error mentioned is skill based, got nil when expecting string.