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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Damage to self...
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #1
Damage to self...
I am having difficulty working this out:

When a player or npc steps into a fire (for example, an item of type=t_fire), the "source" of the damage in the @GetHit trigger is themselves...

Similarly, when a fire elemental drops a fire on the ground and then walks into it, the "source" of the damage is themselves...

Does anyone have suggestions on how to prevent a fire elemental from taking damage when they walk into their own droppings, but still allow players or npc's to take fire damage when they step on something dangerous?
11-01-2012 08:02 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Damage to self... - RanXerox - 11-01-2012 08:02 AM
RE: Damage to self... - Shaklaban - 11-01-2012, 09:27 AM
RE: Damage to self... - RanXerox - 11-01-2012, 10:22 AM
RE: Damage to self... - Shaklaban - 11-01-2012, 11:20 PM
RE: Damage to self... - Barnabus - 11-01-2012, 10:05 PM
RE: Damage to self... - RanXerox - 11-02-2012, 01:04 AM
RE: Damage to self... - Barnabus - 11-02-2012, 01:41 AM
RE: Damage to self... - Barnabus - 11-04-2012, 03:11 AM
RE: Damage to self... - Skul - 11-14-2012, 02:51 AM
RE: Damage to self... - RanXerox - 11-14-2012, 04:27 AM

Forum Jump:


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