summaryrefslogtreecommitdiff
path: root/src/emap/battle.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-20Are you trying to make me mad on purpose, gcc?Jesusaves1-2/+2
2020-10-19Temporaly comment this script code so server doesn't crashJesusaves1-0/+2
2020-10-11This is a basic implementation so wands use MATK instead of ATK.Jesusaves1-2/+10
This causes wands, defined as W_STAFF (2H) or W_BOOK (1H, not planned AFAIK) to use MATK instead of ATK. These basic magic attacks have a few quirks: * Physical Defense will absorb them (needed) * Can be evaded * Use no mana Inefficient, optimize later.
2016-09-03Add support for MinRange in item_db.Andrei Karas1-0/+35
If weapon used on range smaller than MinRange, weapon not attacking.
2016-09-01Add into mob_db skill type attacks modifier.Andrei Karas1-4/+12
New group in mob_db: SkillAttacks Example: SkillAttacks: { SM_BASH: 5000 // mean SM_BASH skill do 50% of normal damage } Default value is 10000 mean 100%
2016-08-31Add into mob_db weapot type attacks modifier.Andrei Karas1-0/+59
New group in mob_db: WeaponAttacks Example: WeaponAttacks: { Bows: 5000 // mean bow attack do 50% of normal attack } Default value is 10000 mean 100%
2016-08-06Not allow hit with bow and without ammo.Andrei Karas1-1/+1
2016-07-31Add into item_db.conf support for attribute AllowAmmo for bows.Andrei Karas1-0/+54
This allow limit any arrow/ammo for any bows/guns.