From 720da4d9c62d49a735f6fb58e1256f942b5bba62 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 12 Dec 2021 00:51:21 -0300 Subject: Remove HoraK's debug code --- npc/magic/final.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/npc/magic/final.txt b/npc/magic/final.txt index c3052631..c583a481 100644 --- a/npc/magic/final.txt +++ b/npc/magic/final.txt @@ -223,7 +223,6 @@ function script HUB_SkillInvoke { // HUB_PCBonus () function script HUB_PCBonus { - if (getcharid(3) == 2283619) debugmes "Recalculate HoraK."; /* Evol2TMWA Stat Hacks */ // Criticals // Dex @@ -241,11 +240,9 @@ function script HUB_PCBonus { // can't realy test it right now since +mattack and -mattack for many items dont work but for some of the common mage items it seems ok } if (FOCUSING & FSKILL_RAGING) { - if (getcharid(3) == 2283619) debugmes "Ragging is ON"; if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) != W_BOW) { // atm trolls can use raging, I thought it's ok since they do damage over Str and have only a range of 3 - if (getcharid(3) == 2283619) debugmes "Not a bow"; @item_crit = 0; switch (getequipid(EQI_HEAD_TOP)) { @@ -261,13 +258,10 @@ function script HUB_PCBonus { @item_crit = 0; break; } - if (getcharid(3) == 2283619) debugmes "Crit is %d", @item_crit; if (getequipid(EQI_HAND_R) == Beheader) @item_crit -= 25; bonus bCritical, (getskilllv(SKILL_RAGING))*((readparam(bDex)/40)+(readparam(bLuk)/30)+(@item_crit/10)+(readparam(bStr)/10)-2); - if (getcharid(3) == 2283619) debugmes "Result: %d", (getskilllv(SKILL_RAGING))*((readparam(bDex)/40)+(readparam(bLuk)/30)+(@item_crit/10)+(readparam(bStr)/10)-2); - if (getcharid(3) == 2283619) debugmes "Arg0: %d, Arg1: %d", getskilllv(SKILL_RAGING), ((readparam(bDex)/40)+(readparam(bLuk)/30)+(@item_crit/10)+(readparam(bStr)/10)-2); // must balance that more to get less crit on lower dex bonus bDef2, -(getskilllv(SKILL_RAGING)*((readparam(bStr)/20)-2)); } @@ -315,7 +309,6 @@ function script HUB_PCBonus { bonus bDoubleAddRate, (readparam(bDex)*getskilllv(SKILL_MALLARDS_EYE))/50; // max reachable is 18 Double Damage atm } } - if (getcharid(3) == 2283619) debugmes "Finished the bonus calc for HoraK"; /* Class A Equipment */ if (getequipid(EQI_HAND_R) > 1) { -- cgit v1.2.3-60-g2f50