lazarus321
Member
- Joined
- May 8, 2017
- Messages
- 222
- Reaction score
- 23
Hi, How could I acquire the monster's defense in a spell?
On the example below I took it from the dragon xml
monster.defenses = {
defense = 30,
armor = 25,
mitigation = 0.99,
{ name = "combat", interval = 2000, chance = 15, type = COMBAT_HEALING, minDamage = 40, maxDamage = 70, effect = CONST_ME_MAGIC_BLUE, target = false },
}
On the example below I took it from the dragon xml
monster.defenses = {
defense = 30,
armor = 25,
mitigation = 0.99,
{ name = "combat", interval = 2000, chance = 15, type = COMBAT_HEALING, minDamage = 40, maxDamage = 70, effect = CONST_ME_MAGIC_BLUE, target = false },
}