Attacks
Unverified content
This page has been marked as being in need to be verified and/or updated to match the Arcadia Online mechanics.
Needs review
This article or section is in need of attention from an expert on the subject. Please help recruit one or improve this article yourself.
This page is devoted to describing how Attacks are resolved. As there are basically two kinds of attacks, physical and magical, it is split into two sections.
Explanation of Conventions
Below are a number of conventions in the calculations that may be unfamiliar. Explanations follow:
- [] - Square brackets hold the same priority as normal brackets, but indicate that the value of the contents should be rounded down to the nearest whole number (integer) once calculated.
- rnd(x,y) - This is the expression of a random whole number (integer) between x and y. eg. rnd(3,50) would be a whole number (integer) between 3 and 50.
- min(x,y) - This expression indicates that you should take the lower of x and y.
- max(x,y) - This expression indicates that you should take the higher of x and y.
- x\^y - This is x to the power of y. That is, x multiplied by itself y times. eg. 5\^3 would be 5*5*5.
- {} - Curly brackets hold the highest priority, even higher than square and normal brackets. They indicate that the contents should be rounded down to the nearest whole number (integer) once calculated. Then, if the result is less than 0, it should be made equal to 0.
Physical Attacks
Physical Attacks encompass all regular attacks (from monster or player) and all physical attack skills. The game goes through the following process to assess the result of an attack.
- Is the attack a skill attack? If so, go to step 6.
- All active attack skills are automatically considered skill attacks.
- Double Attack is checked for on every non-skill attack with a Dagger weapon as the primary weapon (right-hand weapon). If a Double Attack is determined to have occurred (based on the level of the attackers Double Attack skill), then it automatically becomes a Skill Attack.
- When wielding dual weapons (only Assassins can do this), the left-hand weapon always counts as a skill attack, although if the right-hand weapon gets a crit then, the crit bubble will show on the left-hand weapon hit as well. You will also never see a "Miss!" from a left-hand weapon.
- The Sidewinder Card in a weapon gives the weapon a chance of a Double Attack equal to a Double Attack Level 1 with non-skill attacks. This over-rules the normal restriction of Double Attack only applying to a Dagger weapon.
- The monster skill Combo Attack is a skill attack too.
- Defensive attack skills like Counter Attack and Poison React cause normal attacks. They are not skill attacks.
- Does a Safety Wall
effect protect the target and is it a melee attack? If so, reduce
the total number of hits left on the safety wall by 1 and then stop.
- A melee attack from a monster is any normal physical attack with a range of less than 4 tiles.
- A melee attack from a player is any normal physical attack from any weapon other than a Bow.
- Does a
Pneuma
effect protect the target and is it a ranged attack? If so, damage
is 0, go to step 26.
- A ranged attack from a monster is any normal attack with a range of at least 4 tiles.
- A ranged attack from a player is any normal physical attack with a Bow or with a physical attack skill that is also designated as Ranged.
- Does a Perfect Dodge
occur? If so, indicate with a "Lucky!" animation above the target's
head and then stop.
- Player characters have a 1 + [LUK/10] + EquipmentBonuses percent chance of perfect dodging an attack directed at them. This is the same as the right-hand part of their flee value.
- Monster targets cannot perfect dodge.
- Does a critical hit occur? If so, go to step 7.
- Player characters have a (1 + LUK*0.3 + EquipmentBonuses) * CritModifier - TargetLuk/5 percent chance of causing a critical hit. This is not the same as the critical value shown in the status window!
- Monsters only do a critical hit if they have used the monster skills Critical Slash or Counter Attack to make an attack (and then it is an automatic critical hit).
- Does a hit or a miss occur? If a miss, assign an damage value of 0
and go to step 18. If a hit, display an "Impact" animation.
- A hit has a 80 + AttackerHit - DefenderFlee percent chance of occurring. An alternative formula for use with the monster hit table is 100 + PlayerHit - HitRequiredfor100%.
- For players, DefenderFlee is reduced by 10% of its value for each attacker beyond the second.
- Some skills automatically hit. Others increase AttackerHit by a certain amount.
- Calculate BaseATK.
- BaseATK for melee weapons is STR + [STR/10]\^2 + [DEX/5] + [LUK/5] + UpgradeBonus + ImpositioManus + ATKCards.
- BaseATK for missile weapons is DEX + [DEX/10]\^2 + [STR/5] + [LUK/5] + UpgradeBonus + ImpositioManus + ATKCards.
- Monsters have a BaseATK of 0.
- The UpgradeBonus is the random bonus atk you get from refining your weapon over the safety level.
- Calculate WeaponATK.
- WeaponATK for melee weapons is rnd(min(DEX*(0.8+0.2*WeaponLevel),ATK), ATK). In the case of a critical hit, it is ATK.
- WeaponATK for bows is rnd(ATK/100*min(ATK, dex*(0.8+0.2*WeaponLevel)), max(ATK, ATK/100*min(ATK, dex*(0.8+0.2*WeaponLevel)))) + rnd(0, ArrowATK - 1). In the case of a critical hit, it is ATK + ArrowATK.
- WeaponATK when weaponless (fist) is 0.
- WeaponATK for Monsters is simply rnd(minATK, maxATK) using the values shown in my monster list. In the case of a critical hit (due to a skill), use maxATK.
- In the case of Dual Wielded weapons, all cards apply to the right-hand weapon only.
- Apply size
modifier to Weapon ATK.
- Size modifiers vary by weapon.
- Monsters count as using Fist.
- Adult Players are of medium size, adopted child players are of small size.
- Apply skill modifiers to the total of Base ATK + WeaponATK.
- Skill modifiers add together (eg. 1 + 0.25 + 0.9).
- Power-Thrust gives a skill modifier and may apply to any physical attack.
- Provoke gives a skill modifier and may apply to any physical attack.
- Many physical attack skills provide a third possible skill modifier. Eg. Concentration
- Calculate as (100 + PowerThrust% + Provoke% + AttackSkill%)/100.
- Apply Hard DEF modifiers to the
current total.
- Formula is Total*(1-DEF/100).
- Player character Hard DEF is not the same as shown in the status window.
- A critical hit counts all Hard DEF as 0.
- Subtract
Soft DEF from the current
total.
- Soft DEF for players is equal to [VIT*0.5] + rnd([VIT*0.3], max([VIT*0.3],[VIT\^2/150]-1)).
- Soft DEF for monsters is equal to VIT + rnd(0,[VIT/20]\^2-1).
- A Critical Hit reduces Vit DEF to 0.
- Subtract applicable Protection skill values from the current total.
- Divine Protection reduces damage from Undead element and Demon race monsters.
- Dragonology reduces damage from Dragon class monsters.
- Add applicable Bane skill values to the current total.
- Beast Bane adds damage to Brute and Insect race monsters.
- Demon Bane adds damage to Undead element and Demon race monsters.
- Dragonology adds damage to Dragon race monsters.
- Add Upgrade Damage to the current total.
- For player characters, this is the value on the right-hand side of ATK in the status window.
- Monsters do not get Upgrade damage.
- Round damage down and if the total is less than 1, increase to 1.
- Add applicable Mastery skill values to the current total.
- There are currently Mastery skills for Spear (all), 1-H Sword (Daggers and 1-H Swords), Two-Hand Sword (2-H Swords only), Mace and Katar.
- Add Weaponry Research
damage and
Envenom
bonus damage as applicable.
- Weaponry Research damage occurs to every attack by a Blacksmith with the Weaponry Research skill.
- Envenom bonus damage applies to Envenom skill attacks only.
- Apply the Elemental Modifier to the current total.
- The Elemental Modifier depends on the property of the attack and the property of the target.
- Normal attacks from monsters are always Neutral property.
- Skill attacks from monsters may have other properties.
- Normal melee attacks from players have the property of the weapon wielded. The property of the weapon may be over-ridden by various spell effects however (Enchant Poison, Aspersio, etc.).
- Normal bow attacks from players have the property of the arrow being used. This may be over-ridden by an elemental bow (Rudra's Bow is the only known elemental bow). The property of the weapon and arrow may be over-ridden by various spell effects however (Enchant Poison, Aspersio, etc.).
- Skill attacks from players have a property determined by the skill. In many cases, this is merely the property of the weapon, but it may be forced to be a particular elemental property (eg. Magnum Break forces Fire property).
- Cart Revolution is a rare skill that forces the elemental modifier to be applied twice. Once with a Neutral property and once with the property of the weapon wielded.
- Add Enhancement damage.
- The only source of Enhancement damage is Very's on forged weapons. Each Very is worth 5 damage.
- Apply Damage Bonus modifiers.
- Damage Bonuses are based on Size, Race, Element and Special. Bonuses of the same type stack, while bonuses of differing types multiply together. The overall calculation can be expressed as (1+SizeBonusesTotal/100) * (1+RaceBonusesTotal/100) * (1+ElementBonusesTotal/100) * (1+SpecialBonusesTotal/100).
- Many cards and other equipment can give Size, Race or Element Bonuses.
- Currently, there are no known Special Bonuses.
- Apply Damage Reduction modifiers.
- Damage Reductions are based on Size, Race, Element and Special. Bonuses of the same type stack, while bonuses of differing types multiply together. The overall calculation can be expressed as (1-SizeReductionsTotal/100) * (1-RaceReductionsTotal/100) * (1-ElementReductionsTotal/100) * (1+SpecialReductionsTotal/100).
- Many cards and items of equipment can give Size, Race or Element Reductions.
- The Energy Coat skill gives a Special Reduction.
- Special Reductions and rules apply to wielding two weapons.
- Round damage down and if the total is less than 1, increase to 1.
- If a "multi-attack" (double attack included), multiply total by number of hits.
- If attacking a "herb plant" and the total is greater than 1 then
reduce damage to 1.
- Herb plants are Blue, Green, Red, Shining, Yellow and White Plants and Red and Black Mushrooms.
- The monster Antonio also acts like a "herb plant".
- Some monsters can also force this status onto themselves by performing Barrier.
- Exception applies to Gloria Domini, which deals full damage to this status.
- If Kyrie Eleison is in effect on the target, soak up as much damage as possible. If damage is reduced to 0 and at least 1 point of damage was soaked up, display the Guard effect to the defender, deduct the total damage from the defense pool, deduct 1 hit from the total hit defense and then stop. If damage is not reduced to 0, cancel Kyrie Eleison effect on the target.
- If a "multi-attack" (double attack included), divide total by number of hits.
- Is the current total less than 1? If so, display the appropriate
number of Misses and then stop.
- The display for a Miss is the word "Miss!" in red rising up and behind from above the attackers head.
- The appropriate number of Misses is 1 for a Double Attack, 2 for a missed attack with Katars, 0 for a missed attack with a left-hand weapon (while dual wielding) and 1 in any other case.
- Was it a single non-Katar Hit or Critical Hit? If so, display the
Hit, adjust the hps of the target and stop.
- The display for a Hit is a number equal to the final total in white rising up and behind from above the targets head. There is a sound associated with each different weapon type.
- A Critical Hit adds a spiky red box around the Hit display and has a different sound associated with it.
- Display the appropriate number of Hits with the appropriate totals
and adjust the hps appropriately.
- Certain skills have multiple hits of equal power (eg. Pierce and the monster skill Multi-Attack).
- Dual wielding gives 2 attacks, each with a different total.
- Double Attack adds 1 extra Hit with the total (rounded down) of the primary weapon.
- A Katar adds a second hit with damage equal to a fraction of the total and a second "impact" animation.
- A Critical Hit adds a spiky red box around the Hit display and has a different sound associated with it.
- When dual wielding or using a katar, a Critical Hit with the primary normal attack causes the secondary skill attack to appear to be a critical as well. It is not.
- If a single attack with more than one hit, display the total of all
damage in the attack.
- The display is a number in yellow above the head of the Target. This number fades after a few seconds and is replaced by any other attack with multiple hits (including magic attacks).
Note: In the case of a Dual Wielding Assassin, steps 1-28 should be completed separately for each weapon.
- The full damage calculation for each Hit by a Monster (melee or ranged) is:
- The full damage calculation for each melee Hit by a Player is:
- The full damage calculation for each ranged Hit by a Player is:
- The full damage calculation for each Hit by a Player (melee or ranged) against a "Herb Plant" is:
Note: Yes, these formula are hellishly complex. The game does not have one huge calculation like this. It uses an algorithmic process like the stepwise one I show above.
Magical Attacks
Magical Attacks encompass all attacks using a Magic Attack Skill. Both Player Characters and Monsters can use Magic Attack Skills. As successfully cast Magic Attack Skills cannot be evaded, there is no need to check for a successful hit. However, there are many Magic Attack Skills with casting times and there are rules governing the casting process.
- Calculate the casting time.
- ActualCastTime = BaseCastTime * EquipmentMods * max(1 - Dex/150,0).
- EquipmentMods to casting time come from Phen Card, Tower Keeper Card, etc.
- Is the casting time 0? If yes, go to step 5.
- Start casting.
- Casting circle/pentagram appears around target.
- Casting effect (coloured) appears around caster.
- Casting sound can be heard.
- Does the spell get interrupted before casting time is up? If yes,
stop.
- If the caster takes at least 1 point of damage from a hit (not poison or bleeding), then the spell is interrupted.
- Most status effects will also interrupt a spell.
- Phen Card and Bloody Butterfly Card makes any spell cast uninterruptible, except for Spell Breaker
- If a single target spell, is the target still in range? If no, stop.
- The target cannot be out of sight (including around a corner or cloaked/hidden).
- Show appropriate effect animations.
- If an area affect spell, are there any valid targets? If no, stop.
If yes, show appropriate effect animations.
- Only those within the area of effect are considered valid targets.
- Hiding avoids some numerous spells, both directly targeted and Area of Effect spells.
- Assess the result of a successful attack.
The result of successful attack is assessed according to the following process.
- Calculate the basic ATK value. The formula is rnd(minMATK,maxMATK).
- Apply Item Modifier.
- Most Regular Rod weapons give a 15% bonus to MATK. Therefore *1.15. Exceptions are Hypnotist's Staff, which givesĀ %25 bonus, Bazerald, which gives 10% bonus and The Sign accessory, which gives 5%.
- Apply Skill Modifier.
- Varies according to the skill.
- Apply MDEF modifiers to the current total.
- Formula is Total*(1-MDEF/100).
- Deduct Vit/2 and Int from the current total.
- Round the total down and if the current total is less than 1, then it becomes 1.
- Apply Elemental Modifier.
- The Elemental Modifier depends on the property of the magic attack skill and the property of the target.
- If attacking a "herb plant" and the total is greater than 1 then
reduce damage to 1.
- Herb plants are Blue, Green, Red, Shining, Yellow and White Plants and Red and Black Mushrooms.
- The monster Antonio also acts like a "herb plant".
- Some monsters can also force this status onto themselves by performing Barrier.
- If the final damage is 0 or less, display a number of Misses equal
to the number of "hits" in the attack and stop.
- The display for a Miss is the word "Miss" in red rising up and behind from above the attackers head.
- Display a number of Hits equal to the number of "hits" in the
attack.
- The display for a Hit is a number equal to the final total in white rising up and behind from above the targets head. There is a sound associated with each magic attack skill.
-
If more than one Hit, then display the total of all damage in the attack.
- The display is a number in yellow above the head of the Target. This number fades after a few seconds and is replaced by any other attack with multiple hits (including physical attacks).
-
The full damage calculation for each Hit in a magic attack is:
Unknowns/Errors
Following is a list of things that I'm sure I don't know about perfectly yet. If you have accurate and tested information about this, please let me know.
- Interaction of Safety Wall with KE (both monster and player versions of SW).
- Do Safety Wall and Pneuma come before or after the skill check?
- Interaction of Sidewinder card with all weapons, crap as it is.
- Timing of Status Effect checks within the combat algorithms for both physical and magical attacks.
- How SkillModifers stack together.
- Exact position of Divine Protection in the scheme of things.
- How to round things up and down in the right spots and get min 1 damage + 0.5 damage per double attack vs "herb plants".
- How Hard DEF and Soft DEF degrade while being attacked by multiple enemies.