// TMW2 Scripts // Author: Jesusalva // Desc: Special functions for killing certain monster types // Designed by SAULC LE GRANDE // mobspecial(mobID) → Manual fix for special mobs function script mobspecial { .@mobId=getarg(0, killedrid); switch (.@mobId) { case WildxChest: percentheal 70, 0; break; case ManaChest: percentheal 90, 75; break; case ThornChest: percentheal 0, 10; callfunc "SC_Bonus", (200-readparam2(bVit))/20, SC_POISON, 1; callfunc "SC_Bonus", (200-readparam2(bVit))/40, SC_CURSE, 1; break; case MalignChest: percentheal -30, 0; callfunc "SC_Bonus", (200-readparam2(bVit))/20, SC_BLOODING, 1; callfunc "SC_Bonus", (200-readparam2(bVit))/20, SC_CURSE, 1; break; } return; }