SphereCommunity
Damage Types List - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Damage Types List (/Thread-Damage-Types-List)



Damage Types List - Oxtar - 12-17-2012 10:22 AM

Is there a list with all the damage types we can set into the @Hit or @GetHit?

I remember i had it in my sphere folder long ago into a text file but yeah... time got it erased with a Format C: lol

Nevermind. I found it.

In case someone is looking for them

Quote:[DEFNAME dam_flags]
dam_god 00001 //unblockable "god" damage
dam_physical 00002 //some sort of physical damage (as opposed to magical)
dam_magic 00004 //some sort of magical damage
dam_poison 00008 //poisonous or biological (harm spell) damage
dam_fire 00010 //fire-based damage
dam_lightning 00020 //electrical damage (lightning)
dam_drain 00040 //draining damage
dam_general 00080 //damage that hits the entire body, rather than just one part of it
dam_acidic 00100 //acidic damage (will destroy armor)
dam_cold_old 00200 //cold-based damage (old flag, should update to dam_cold_new)
dam_slash 00400 //damage done by slashing (swords, etc)
dam_pierce 00800 //damage done with spear and such.
dam_cold_new 01000 //cold-based damage
dam_cold 01200 //cold-based damage (matches both old and new cold damage flag)
dam_energy 02000 //energy-based damage
dam_noreveal 04000 //damage that does not reveal the attacker.
dam_nounparalyze 08000 //victim won't be unparalyzed



RE: Damage Types List - admin phoenix - 12-17-2012 11:40 PM

you can also add new one.
I had done it too lile dam_earth Wink


RE: Damage Types List - Oxtar - 12-18-2012 12:01 AM

Would be very useful to add a tutorial on that matter, or simply the infos required to do it ^^


RE: Damage Types List - admin phoenix - 12-18-2012 12:55 AM

you can add flags if you wish in every section in the spheredef file.
I have already done it in a lot of section
For example I add new layers for my illness or magic system and use them for my memory items.