====== Attack Types ====== [[:combat|Attacks]] are made using specific attack types that define what the effect of an attack is: ==== Direct Damage ==== The following attack types have direct damage properties which removes a targets hp to the value of the damage dealt from a successful attack (after resistances are factored in): * [[attack_types:Physical]] * [[attack_types:Magic]] * [[attack_types:Fire]] * [[attack_types:Electricity]] * [[attack_types:Cold]] * [[attack_types:Acid]] * [[attack_types:weaponmagic|Weapon Magic]] * [[attack_types:ghosthit|Ghost Hit]] * [[attack_types:Chaos]] * [[attack_types:godpower|God Power]] * [[attack_types:holyword|Holy Word]] ==== Indirect Damage & Effects ==== Indirect damage functions in a similar manner to direct damage, except it changes attributes of the defender (and attacker) other than hp to the advantage of the attacker. The following attack_types have indirect damage properties: * [[attack_types:Confusion]]: Scrambles movement and spells * [[attack_types:Drain]]: experience is directly siphoned and given to source * [[attack_types:Life Stealing]]: Like [[attack_types:Drain]], a portion of health from damage dealt is given back to the source * [[attack_types:Poison]]: Creates a damage over time (DoT) effect that causes poison type direct damage * [[attack_types:Slow]]: Slows movement speed and attack speed * [[attack_types:Paralyze]]: Prevents all actions * [[attack_types:Turn_Undead]]: Turns undead * [[attack_types:Fear]]: Forces flight response in a direction away from source * [[attack_types:Cancellation]]: Cancels magic * [[attack_types:deplete|Depletion]]: Stat points are temporarily reduced * [[attack_types:Death]]: causes death * [[attack_types:Counterspell]]: Counters spells * [[attack_types:Blind]]: Field of vision removed * [[attack_types:Disease]]: Damage from diseases ==== Attack.h ==== Information on attack types is available in Attack.h or [[attack_types:defines]]