MapleThiefCompendium

Damage

Damage in MapleStory Thief Edition depends on one number, the hero's ATT, adjusted by the skill used and, for a thrown star, by the star's own attack. Accuracy, critical hits and the target's level come in afterwards (accuracy, avoid and critical hits).

The hero's stats

The hero keeps six numbers that the fight rules read:

StatWhere it comes from
Level1 to 99
ATTthe level's attack in the level table, plus equipment ATT, Weapon Mastery and Concentration
DEFthe level's defense, plus equipment DEF
AVOIDthe level's avoidability, plus equipment AVOID and Nimble Body
ACCthe level's accuracy, plus equipment ACC, Nimble Body and Concentration
Critical rate2% before the first job advancement, 8% after, plus Critical Throw or Critical Stab

Wearing an item adds all six of its stats (ATT, DEF, ACC, AVOID, HP and MP); taking it off removes them. HP and MP from equipment raise the maximums. STR, DEX, INT and LUK appear on the status tab and nothing else reads them: in this game they are for display only.

The level table's attack, defense, accuracy and avoidability columns are read by the code; what each column means was worked out from that code, so the level pages mark them probable.

Example: a level 10 hero (level table ATT 14) wears a dagger with 8 ATT and has nothing else. The hero's ATT is 22.

Attacks, targets and stars

The attack key starts the current skill. A new attack can start once the previous one has run for the weapon's interval: 2, 4 or 6 game ticks for weapon speed 1, 2 or 3, which is 0.1, 0.2 or 0.3 seconds at the default game speed.

SkillHit areaTargetsHitsStars used
Attack (dagger swing or claw punch)a box 60 by 24 pixels in front110
Throwing-Stars A (claw)a star flying up to 160 pixels111, or 2 with Shadow Partner
Lucky Seventwo stars, four with Shadow Partner1 each1 each2 (4)
Double Stepa box 60 by 24120
Drainone star111
Avengera large star that flies through monstersthe skill's value1 each3
Shadow Weba box 150 by 24up to 6none (it binds)0
Savage Blowa box 60 by 241the skill's value0
Boomerang Staba box 150 by 24the skill's value2 each0

"The skill's value" is the per-level value the skill window shows for it (skills and buffs).

Example: a claw Assassin with Shadow Partner on uses Lucky Seven. Four stars leave, four damage rolls are made against the one target, and four stars come off the first stack that has at least four.

The damage roll

One hit's damage, before evade, miss and critical, follows six steps. A is the hero's ATT.

  1. A claw punch does 1 damage; nothing else applies.
  2. If the hit is a thrown star (Subi Throwing-Stars to Hwabi Throwing-Stars), the star's attack is added to A.
  3. The base is x = A × (A / 30 + 3) / 5, with A / 30 rounded down first.
  4. The skill adjusts x, as in the table below. For an attack skill, p is its damage percentage at its level: the base value plus the per-level value times the skill level.
  5. If x is now below 0, it becomes 10.
  6. A roll r from minus x / 3 to x / 5 is added, and the result is multiplied by 110 / 100.
Skillx becomes
Attack with a dagger, and every skill not listedx, unchanged
Throwing-Stars Ax minus a tenth of x (no p)
Lucky Sevenx + x × p / 100, minus 5
Double Stepx + x × p / 100, minus 3
Drainx + x × p / 100, plus 2
Avengerx + x × p / 100, plus 4
Savage Blowx + x × p / 100, plus 2
Boomerang Stabx + x × p / 100, plus 3

So one hit lands anywhere from about 0.73 x to 1.32 x, every value equally likely.

Edge cases:

Example (made-up numbers): A is 40 and the hero swings a dagger. A / 30 is 1, so x = 40 × 4 / 5 = 32. The roll runs from minus 10 to 6, so the damage is from 22 × 110 / 100 = 24 to 38 × 110 / 100 = 41.

Example: the same hero throws a 4-attack star with a claw (the basic throw), so A is 44. x = 44 × 4 / 5 = 35, less a tenth (3) is 32: the same 24 to 41.

Example: a level 5 Double Step (p = 60 + 5 × 5 = 85) at A = 40. x = 32 + 32 × 85 / 100 minus 3 = 32 + 27 minus 3 = 56, so each of its two hits does (56 minus 18) × 110 / 100 = 41 to (56 + 11) × 110 / 100 = 73.

Calculator

The calculator applies the rules on this page and on accuracy, avoid and critical hits. Choosing a level fills in that level's ATT, ACC, DEF and AVOID from the level table, and choosing a weapon fills in its fixed ATT (the stat a bought or dropped weapon has); change any number to match a rolled or scrolled item. Other ATT is for the rest of the equipment and for Weapon Mastery and Concentration. The mean damage per attempt counts the monster's evade, the miss chance and critical hits.

Sources

CHero::RollDamage 0x64DA1 (the damage roll, called only by CMob::TakeHit 0x73715), CSkill::DamageValue 0x7D551 (the window's damage figure), CHero::onAttack 0x605FD and the interval table at 0x117140, CSkill::SpawnAttack 0x7D781 (hit areas), CSkill::setActiveSkill 0x7EFF1 (weapon checks), 0x7E9A1 (the two swings), CHero::isSpear 0x5FF3D and CHero::UseStars 0x67005 (stars), CSkill::ShadowWeb 0x7EB8D, CHero::AddEquipStats 0x5F89D and CHero::RemoveEquipStats 0x5F979 (equipment), the status tab 0x56321. The real-asset test play.mechanics checked every hit of a 60-kill hunt against these rules.