damage
index
/home/thindil/Projekty/anaria/server/lib/pymodules/damage.py

damage.py
 
Various function related to damage received by character.

 
Modules
       
char
event
mud
obj
odmiana
random

 
Functions
       
check_armor(ch, armorHit)
Check armor parts for damage.
count_damage(body, armor, dmg, damagetype)
Return damage received, body part damaged and information about hit in armor.
create_corpse(owner, killer, type)
Create corpse of killed character and put there all items.
get_armor(ch)
Get armor and body locations of character. Returns list with: Armor locations, Hit Armor locations and Body locations
remove_corpse_event(owner, data, arg)
Remove corpse from game after 10 minutes.