The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Damage Types List
Author Message
Oxtar
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0



Post: #1
Damage Types List
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
(This post was last modified: 12-17-2012 10:58 AM by Oxtar.)
12-17-2012 10:22 AM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #2
RE: Damage Types List
you can also add new one.
I had done it too lile dam_earth Wink
12-17-2012 11:40 PM
Find all posts by this user Like Post Quote this message in a reply
Oxtar
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0



Post: #3
RE: Damage Types List
Would be very useful to add a tutorial on that matter, or simply the infos required to do it ^^
12-18-2012 12:01 AM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #4
RE: Damage Types List
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.
12-18-2012 12:55 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)