Function: DamageSpawn(attacker, victim, type, dmg_type, low_damage, high_damage, spell_name, crit_mod)
Description:
Damages the victim by the attacker. type represents damage packet types listed here https://github.com/emagi/eq2emu/blob/main/docs/data_types/damage_packet_types.md converted from hex to decimal.
Parameters:
attacker(Spawn) - Spawn object representingattacker.victim(Spawn) - Spawn object representingvictim.type(uint8) - Integer valuetype.dmg_type(uint8) - Integer valuedmg_type.low_damage(uint32) - Integer valuelow_damage.high_damage(uint32) - Integer valuehigh_damage.spell_name(string) - Stringspell_name.crit_mod(uint8) - Integer valuecrit_mod.
Returns: None.