summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-12 00:51:21 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-12 00:51:21 -0300
commit720da4d9c62d49a735f6fb58e1256f942b5bba62 (patch)
tree09d1e791ac2c3d7f3ef358190e5a86038730a149
parent0c016dcb82aaa98cb2454cb335f244d23d724b67 (diff)
downloadserverdata-720da4d9c62d49a735f6fb58e1256f942b5bba62.tar.gz
serverdata-720da4d9c62d49a735f6fb58e1256f942b5bba62.tar.bz2
serverdata-720da4d9c62d49a735f6fb58e1256f942b5bba62.tar.xz
serverdata-720da4d9c62d49a735f6fb58e1256f942b5bba62.zip
Remove HoraK's debug code
-rw-r--r--npc/magic/final.txt7
1 files changed, 0 insertions, 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) {