But... for the "Player is reborn invincible" buff it shows 500667 and that seems to be the only buff I can't strip. Tried different variations in WP and profile. I can strip the "PK Protection" buffs all day with no problem but this 500667 thing is killing me.
Profile:
Code: Select all
<onDeath><![CDATA[
yrest(1000)
RoMScript("BrithRevive();");
yrest(1000)
CancelBuff("Player is reborn invincible")
CancelBuff("PK Protection")
CancelBuff("PK Protection II")
CancelBuff("PK Protection I")
CancelBuff("PK Protection III")
CancelBuff(500667)
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
]]></onDeath>Code: Select all
<!-- # 1 --><waypoint x="3455" z="75667" y="5"> CancelBuff(500667); </waypoint>Code: Select all
<!-- # 1 --><waypoint x="756" z="85678" y="5"> CancelBuff("Player is reborn invincible"); </waypoint>