Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Worldbox Wiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Combat Actions and Spells
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Upload file
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[File:Recoveries edit10x.png|right|frameless]] Combat and spell actions require different things to be used by units and there are specific conditions in which units might try to use them. == Attacking == === Attack Type === When units attack the game will figure out what basic combat actions units will perform: * If units have spells, don't have Silence or Spell Recovery status, and not possessed: They are able to use spells * If units have a melee attack: They are able to use melee attacks * If units don't have melee attack: They are able to use ranged attacks === Performing Attacks === * The game will choose a random attack type. Units can perform up to two different attack types: ** Melee or Spell ** Ranged or Spell * Spells are only chosen 33.3% of the time why the other attack type (melee or ranged) is chosen 66.6% of the time. If the spell attack type is chosen the game will chose a random spell if the attacking unit has multiple spells they can use. * If units use a spell they will then perform a basic attack (melee or ranged), '''spells for combat can not be used if the unit has the [[File:Religion trait cast silence.png|frameless|28x28px]] Silence [[Status Effects|status effect]]''' * Units have 50% chance to lose 1 nutrition (hunger) after attacking * Units will be pushed back by recoil if their weapon has any == Using Combat Actions == Combat actions must go through multiple conditions before units area able to them in battle. Except for simpler actions like basic melee and ranged attacks which mostly depend on what item weapons hold (or lack of one). * [[File:Icon gene attack610x.png|frameless|28x28px]]Offensive Actions: ** If target is not within the units range, they will try to dash toward the target. They will need the [[File:IconSkillDash.png|frameless|28x28px]]Dash [[Creature Traits|trait]] to do this ** If target is within range and unit is able to perform ranged attacks but still isn't able to attack, they will try to backstep, throw a bomb, or throw a torch They will need the [[File:IconSkillBackstep10x.png|frameless|28x28px]]Backstep, [[File:IconGrenade10x.png|frameless|28x28px]]Bomberman, or [[File:IconPyromaniac10x.png|frameless|28x28px]]Pyromaniac trait to do this * [[File:Icon gene armor110x.png|frameless|28x28px]]Defensive Actions: ** First, try to deflect the attack. They will need the [[File:IconSkillDeflectProjectile10x.png|frameless|28x28px]]Deflect Projectile [[Creature Traits|trait]] to do this ** Second, try to block the attack. They will need the [[File:IconSkillBlock10x.png|frameless|28x28px]]Block trait to do this and the attack will need to be a blockable projectile (arrows, snowballs, rocks, shotgun bullets, bones) ** Third, try to dodge the attack. They will need the [[File:IconSkillDodge.png|frameless|28x28px]]Dodge trait to do this * If units have the [[File:IconSlow10x.png|frameless|28x28px]]Slow trait or [[File:IconRecoveryCombatAction.png|frameless|28x28px]]Combat Action Recovery [[Status Effects|status]] they cannot use advanced combat actions * The game will check for action specific limitations (see the combat actions table below). This also includes stamina requirements * If a unit ends up having multiple valid combat actions then the game will choose a random action * Every combat action has a "Combat Chance" when units try to use them. For all actions this is equal to 20% ** If the "Combat Chance" is successful units spend stamina, get the [[File:IconRecoveryCombatAction.png|frameless|28x28px]]Combat Action Recovery status, and use the selected combat action ** If it fails then they don't use the selected combat action * Units can have their "Combat Chance" increased in various ways: ** [[File:WarfareStatFIX.png|frameless|28x28px]]Every 5 warfare gives +1% ** [[File:IconLevels10x2.png|frameless|28x28px]]Being above level 5 gives +10% ** [[File:IconVeteran10x.png|frameless|28x28px]]Veteran trait +10% ** [[File:IconAgile10x.png|frameless|28x28px]]Agile trait +20% ** [[File:IconBattleReflexes10x.png|frameless|28x28px]]Battle Reflexes trait +50% == Combat Actions == ''<small>[[File:IconStamina10x.png|frameless|28x28px]]= Stamina required to use,[[File:IconClock10x.png|frameless|28x28px]] = Cooldown (in seconds), [[File:IconDice10x.png|frameless|28x28px]]= Combat Chance, [[File:Icon soundambient10x.png|frameless|28x28px]]= Plays an attack sound when used</small>'' {| class="sortable fandom-table" !Icon !Action !Effect !''[[File:IconStamina10x.png|frameless|28x28px]]'' ![[File:IconClock10x.png|frameless|28x28px]] ![[File:IconDice10x.png|frameless|28x28px]] !''[[File:Icon soundambient10x.png|frameless|28x28px]]'' |- |[[File:Icon sword wood.png|frameless|56x56px]] |Melee Attack |Attacks without projectiles (usually close range), uses attacker's damage stat to calculate damage dealt | - | 1 | - |Yes |- |[[File:Icon bow wood.png|frameless|56x56px]] |Ranged Attack |Attacks with projectiles (usually long range), uses attacker's damage stat to calculate damage dealt<br>In most instances an item is required for units to perform a ranged attack. Some items allow units to shoot more than one projectile at once<br>The way accuracy and projectile path is calculated is quite complicated and would be messy to explain: * ''If you want to read directly from the code see "attackRangeAction()" in the "CombatActionLibrary"'' * The accuracy stat has a strong effect on projectile accuracy. Accuracy for all units is equal to 1 except for Arrows boats which have 4 accuracy * The game calculates accuracy for each projectile fired. So, if a unit can fire multiple projectiles at once some may end up be more accurate then others * If a unit has a bigger (size * scale) stat then they can be hit from a closer range | - | 1 | - |Yes |- |[[File:IconMana10x.png|frameless|56x56px]] |Cast Spell |'''''Fore more info on specific spells see the Spell Action table below'''''<br>Uses a spell: * The unit will decide a random spell to use from the spells they are able to cast ** [[File:Achievements equipment explorer10x.png|frameless|28x28px]]Items can unlock specific spells ** [[File:PawSymbol10x.png|frameless|28x28px]]Subspecies traits in talent category unlock spells ** [[File:IconReligionList10x.png|frameless|28x28px]]Religion traits unlock spells ** [[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One [[Traits|trait]] unlocks all spells except silence * [[File:IconMana10x.png|frameless|28x28px]]If the unit does not have enough mana to cast the randomly selected spell then the action cancels * The game will then calculate the spell's chance of success. A unit's spellcasting stat increases the chance of success ** [[File:IconIntelligence10x.png|frameless|28x28px]]Every 5 intelligence gives +1% spellcasting ** [[File:IconLevels10x2.png|frameless|28x28px]]Being above level 5 gives +10% spellcasting ** [[File:IconArcaneReflexes10x.png|frameless|28x28px]]Arcane Reflexes [[Creature Traits|trait]] gives +50% spellcasting ** [[File:IconSpellBoost.png|frameless|28x28px]]Spell Boost [[Status Effects|status effect]] gives +20% spellcasting * [[File:IconBuildings 10x.png|frameless|28x28px]]If the spell is meant for buildings and the unit's target isn't a building then the spell fails * [[File:IconPopulation10x.png|frameless|28x28px]]If the spell is meant for a creature and the unit's target is a building then the spell fails * [[File:IconHealth10xEdit.png|frameless|28x28px]]If the spell has a health ratio and that ratio is equal to or less than the caster's health ratio then the spell fails * [[File:Icon bow wood.png|frameless|28x28px]]If the spell has a minimum distance that the caster is closer to the target than that minimum distance then the spell fails * ''[[File:IconRecoverySpell.png|frameless|28x28px]]If the spell succeeds after this point then it is caster and the caster gets the Spell Recovery [[Status Effects|status effect]]'' |5 |1 | 20% |Yes |- |[[File:IconSkillDeflectProjectile10x.png|frameless|56x56px]] |Deflect Projectile |[[File:Icon gene armor110x.png|frameless|28x28px]]Used before a unit gets hit with an attack<br>Reflects an attack back at their attacker and takes no damage, unit will stop moving when deflecting the attack |5 |1 |20% |No |- |[[File:IconSkillBlock10x.png|frameless|56x56px]] |Block |[[File:Icon gene armor110x.png|frameless|28x28px]]Used when a blockable projectile is going to hit a unit if it wasn't deflected (arrows, snowballs, rocks, shotgun bullets, bones)<br>Projectile bounces away from them, taking no damage |5 |0.5 |20% |No |- |[[File:IconSkillDodge.png|frameless|56x56px]] |Dodge |[[File:Icon gene armor110x.png|frameless|28x28px]]Used before a unit gets hit with an attack if it wasn't deflected or blocked<br>Moves out of the way of an attack, taking no damage (50% chance to dodge left or right). Gets the Dodge [[Status Effects|status effect]] after performing <br>Move Power = 3, Move Power Height = 1.5 |5 |1 |20% |No |- |[[File:IconSkillDash.png|frameless|56x56px]] |Dash |[[File:Icon gene attack610x.png|frameless|28x28px]]Used when their target is out of range and more than three tiles away<br>Moves toward their target in one quick movement. Gets the Dash [[Status Effects|status effect]] after performing<br>Move Power = 5, Move Power Height = 1.2 |10 |2 |20% |No |- |[[File:IconSkillBackstep10x.png|frameless|56x56px]] |Backstep |[[File:Icon bow steel.png|frameless|28x28px]]Used if unit is using a ranged attacks and their attack cooldown hasn't finished or the attack isn't possible for some reason but the target is within range. Fails if the distance squared from attacker and defender is less than 50% of the attacker's range squared (attacker is the one with the ranged attacks)<br>Moves backwards to avoid getting hit by the defender<br>Move Power = 5, Move Power Height = 1.2 |10 |1 |20% |No |- |[[File:IconGrenade10x.png|frameless|56x56px]] |Throw Bomb |[[File:Icon gene attack610x.png|frameless|28x28px]]Used when their target is out of range of normal attacks and more than three tiles away<br>[[File:Icon bow steel.png|frameless|28x28px]]Used if unit is using a ranged attacks and their attack cooldown hasn't finished or the attack isn't possible for some reason but the target is within range<br>Fails if the distance squared from attacker and defender is less than 36 or more than 2500 (the attacker is the one using the Throw Bomb action)<br>Throws a firebomb: 30 Damage, 12 Speed, Terraform Range = 2, starts fire, and has no affect on demons |30 |8 |20% |No |- |[[File:IconPyromaniac10x.png|frameless|56x56px]] |Throw Torch |[[File:Icon gene attack610x.png|frameless|28x28px]]Used when their target is out of range of normal attacks and more than three tiles away<br>[[File:Icon bow steel.png|frameless|28x28px]]Used if unit is using a ranged attacks and their attack cooldown hasn't finished or the attack isn't possible for some reason but the target is within range<br>Fails if the distance squared from attacker and defender is less than 36 or more than 2500 (the attacker is the one using the Throw Bomb action)<br>Throws a torch: 25 Damage, 15 Speed, Terraform Range = 1, starts fire, and has no affect on demons |5 |8 |20% |No |- | - |''Random Jump'' |''Unused action with no effect'' |''5'' |''2'' | ''-'' |''No'' |} == Using Spells == Spells are used when units have spells, aren't possessed, and are allowed to use spells. When a unit attacks there is a 33.3% chance that they use a spell (see Attacks section at the top for more info). If there are multiple spells that units can use the game will choose one at random. Uses a spell: * The unit will decide a random spell to use from the spells they are able to cast ** [[File:Achievements equipment explorer10x.png|frameless|28x28px]]Items can unlock specific spells ** [[File:PawSymbol10x.png|frameless|28x28px]]Subspecies traits in talent category unlock spells ** [[File:IconReligionList10x.png|frameless|28x28px]]Religion traits unlock spells ** [[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One [[Traits|trait]] unlocks all spells except silence * [[File:IconMana10x.png|frameless|28x28px]]If the unit does not have enough mana to cast the randomly selected spell then the action cancels * The game will then calculate the spell's chance of success. A unit's spellcasting stat increases the chance of success (spells have a base spellcasting stat of 10, 20, or 30%) ** [[File:IconIntelligence10x.png|frameless|28x28px]]Every 5 intelligence gives +1% ** [[File:IconLevels10x2.png|frameless|28x28px]]Being above level 5 gives +10% ** [[File:IconSpellBoost.png|frameless|28x28px]]Spell Boost [[Status Effects|status effect]] gives +20% ** [[File:IconArcaneReflexes10x.png|frameless|28x28px]]Arcane Reflexes [[Creature Traits|trait]] gives +50% * [[File:IconBuildings 10x.png|frameless|28x28px]]If the spell is meant for buildings and the unit's target isn't a building then the spell fails * [[File:IconPopulation10x.png|frameless|28x28px]]If the spell is meant for a creature and the unit's target is a building then the spell fails * [[File:IconHealth10xEdit.png|frameless|28x28px]]If the spell has a health ratio and that ratio is equal to or less than the caster's health ratio then the spell fails * [[File:Icon bow wood.png|frameless|28x28px]]If the spell has a minimum distance and the caster is closer to the target than that minimum distance then the spell fails * ''[[File:IconRecoverySpell.png|frameless|28x28px]]If the spell succeeds after this point then it is caster and the caster gets the Spell Recovery [[Status Effects|status effect]]'' == Spells == ''<small>[[File:IconMana10x.png|frameless|28x28px]]= Mana required to use, [[File:IconDice10x.png|frameless|28x28px]]= Spell Chance, [[File:IconHealth10xEdit.png|frameless|28x28px]]Health Ratio, [[File:Icon bow wood.png|frameless|28x28px]]Minimum Distance, [[File:DamageStat10x.png|frameless|28x28px]]Can be used in combat</small>'' {| class="sortable fandom-table" !Icon !Spell !Effects !Unlock ![[File:IconMana10x.png|frameless|28x28px]] ![[File:IconDice10x.png|frameless|28x28px]] ![[File:IconHealth10xEdit.png|frameless|28x28px]] ![[File:Icon bow wood.png|frameless|28x28px]] |- |[[File:Religion trait teleport.png|frameless|56x56px]] |Teleport |''<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>''Combat Action: Teleports to a random tile on a random island (cannot teleport onto mountains, summits, and walls)<br><br>[[File:IconBrain10x.png|frameless|28x28px]]Unlocks Decisions:<br>Teleporting: Teleports to a random tile on a random island (cannot teleport onto mountains, summits, and walls)<br>''Cooldown = 20s, 30% chance to be successful, cannot teleport if not at full health''<br>Teleporting Home: Teleports onto a random tile on a random zone in their home village<br>''Cooldown = 60s, 30% chance to be successful, won't teleport if already on the same island the unit is on'' |[[File:Subspecies trait gift of void10x.png|frameless|28x28px]]Gift of the Void<br>[[File:Religion trait teleport.png|frameless|28x28px]]Teleport<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One | 15 | 30% |60% | - |- |[[File:IconFire.png|frameless|56x56px]] |Cast Fire |''<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>''Combat Action: Spawns one fire particle on target and then three more near the target's tile (target can be a creature or building)<br><br>[[File:IconBrain10x.png|frameless|28x28px]]Unlocks Decisions:<br>Burning: If they find tumor tiles they will try to burn them<br>''Cooldown = 10s, 50% chance to be successful'' |[[File:Subspecies trait gift of fire10x.png|frameless|28x28px]]Gift of Fire<br>[[File:Religion trait cast fire.png|frameless|28x28px]]Cast Fire<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One<br>[[File:Icon evil staff scaled 10x.png|frameless|28x28px]]Evil Staff<br>[[File:Icon plague doctor staff scaled 10x.png|frameless|28x28px]]Plague Doctor Staff |3 |20% | - |3 |- |[[File:IconBloodRain10x.png|frameless|56x56px]] |Cast Blood Rain |''<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>''Combat Action: Casts blood rain on themself to heal<br><br>[[File:IconBrain10x.png|frameless|28x28px]]Unlocks Decisions:<br>Healing: If they find tumor tiles they will try to burn them<br>''Cooldown = 5s, will not use if at full health'' |[[File:Subspecies trait gift of harmony10x.png|frameless|28x28px]]Gift of Harmony<br>[[File:Subspecies trait gift of blood10x.png|frameless|28x28px]]Gift of Blood<br>[[File:Religion trait cast blood rain.png|frameless|28x28px]]Cast Blood Rain<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One<br>[[File:Icon white staff scaled 10x.png|frameless|28x28px]]White Staff<br>[[File:Icon druid staff scaled 10x.png|frameless|28x28px]]Druid Staff |2 |30% |90% |0 |- |[[File:IconCurse10x.png|frameless|56x56px]] |Cast Curse |''<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>''Combat Action: Adds the Cursed [[Status Effects|status]] to their target if it isn't already cursed |[[File:Subspecies trait gift of death10x.png|frameless|28x28px]]Gift of Death<br>[[File:Religion trait cast curse.png|frameless|28x28px]]Cast Curse<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One<br>[[File:Icon necromancer staff scaled 10x.png|frameless|28x28px]]Necromancer Staff |3 |20% | - |4 |- |[[File:IconSpellSilence.png|frameless|56x56px]] |Cast Silence |''<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>''Combat Action: Adds the Silenced [[Status Effects|status]] to their target (prevents target from being able to use magic) |[[File:Religion trait cast silence.png|frameless|28x28px]]Silence |5 |20% | - |6 |- |[[File:Shielded10x.png|frameless|56x56px]] |Cast Shield |''<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>''Combat Action: Casts the Shielded [[Status Effects|status]] for 30 seconds on themself if they don't already have the status |[[File:Subspecies trait gift of water10x.png|frameless|28x28px]]Gift of Water<br>[[File:Religion trait cast shield.png|frameless|28x28px]]Bubble Shield<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One |5 |20% | - | - |- |[[File:IconLightning10x.png|frameless|56x56px]] |Summon Lightning |''<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>''Combat Action: Spawns medium [[lightning]] on their target (target can be a creature or building) |[[File:Subspecies trait gift of thunder10x.png|frameless|28x28px]]Gift of Thunder<br>[[File:Religion trait summon lightning.png|frameless|28x28px]]Summon Lightning<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One<br>[[File:Icon white staff scaled 10x.png|frameless|28x28px]]White Staff | 5 | 10% | - |6 |- |[[File:IconTornado10x.png|frameless|56x56px]] |Summon Tornado |''<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>''Combat Action: Spawns a tornado that is 16.67% the size of a normal tornado on their target (target can be a creature or building) |[[File:Subspecies trait gift of air10x.png|frameless|28x28px]]Gift of Air<br>[[File:Religion trait summon tornado.png|frameless|28x28px]]Summon Tornado<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One |10 |10% | - |6 |- |[[File:Religion trait spawn skeleton.png|frameless|56x56px]] |Spawn Skeleton |''<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>''Combat Action: Will spawn a skeleton if there isn't already more than 6 nearby<br><br>[[File:IconBrain10x.png|frameless|28x28px]]Unlocks Decisions:<br>Summoning: Will spawn a skeleton if there isn't already more than 6 nearby<br>''Cooldown = 10s, 30% chance to be successful'' |[[File:Subspecies trait gift of death10x.png|frameless|28x28px]]Gift of Death<br>[[File:Religion trait spawn skeleton.png|frameless|28x28px]]Summon Skeleton<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One<br>[[File:Icon necromancer staff scaled 10x.png|frameless|28x28px]]Necromancer Staff |10 |20% | - |0 |- |[[File:IconImmune10x.png|frameless|56x56px]] |Cast Cure |<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>Combat Action: Cures their allies<br><br>[[File:IconBrain10x.png|frameless|28x28px]]Unlocks Decisions:<br>Curing: Cures their allies if they are on the solid ground and have curable [[Creature Traits|traits]] or [[Status Effects|statuses]]<br>Cooldown = 15s, 30% chance to be successful |[[File:Subspecies trait gift of harmony10x.png|frameless|28x28px]]Gift of Harmony<br>[[File:Religion trait cast cure.png|frameless|28x28px]]Cast Cure<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One |3 |30% | - |0 |- |[[File:IconFertilizerTrees10x.png|frameless|56x56px]] |Spawn Vegetation |<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>Combat Action: Spawns tree fertilizer<br><br>[[File:IconBrain10x.png|frameless|28x28px]]Unlocks Decisions:<br>Fertilizing: Spawns tree fertilizer<br>Cooldown = 10s, 30% chance to be successful, target must be a soil tile |[[File:Subspecies trait gift of life10x.png|frameless|28x28px]]Gift of Life<br>[[File:Religion trait spawn vegetation.png|frameless|28x28px]]Spawn Vegetation<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One<br>[[File:Icon druid staff scaled 10x.png|frameless|28x28px]]Druid Staff |5 |10% | - |0 |- |''[[File:IconSeedGrass.png|frameless|56x56px]]'' |''Cast Grass Seeds'' |<small>[[File:DamageStat10x.png|frameless|28x28px]]</small>Combat Action: Spawns [[Grass Biome|grass biome]] seeds, doesn't work if Gaia's Covenant [[World Laws|world law]] enabled |[[File:Subspecies trait gift of life10x.png|frameless|28x28px]]Gift of Life<br>[[File:Religion trait cast grass seeds.png|frameless|28x28px]]Create Grass<br>[[File:IconChosenOne10x.png|frameless|28x28px]]The Chosen One |''4'' |''10%'' |''-'' |''0'' |} [[Category:Creatures]]
Summary:
Please note that all contributions to Worldbox Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Worldbox Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width