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
Fire Field
Author Message
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #5
RE: Fire Field
I guess if you REALLY need it in @GetHit you could do something like

Code:
ON=@GetHit
FORITEMS 1
    IF (STRCMP(<ID>, i_fx_field_fire) == 0)
        // damage *could* have been from the fire field.
    ENDIF
ENDFOR

But, ofcourse, this just trigger when you receive damage and are stood on a fire field.. it does not guarantee the damage was caused by the fire field.. but I think that's the closest you are going to get by using @GetHit.

I might be wrong Ran, but if you tag the player with the fire fields they cast, you still wont know if the damage came from that fire field as you have nothing to check against - it would be the same scenario as using the LINK that fields have to their casters.

ULTIMA ONE
The modern, sphere powered Ultima Online server
(This post was last modified: 05-13-2013 06:33 AM by Ultima One.)
05-13-2013 06:29 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Fire Field - Art - 05-12-2013, 03:54 PM
RE: Fire Field - dagger4k - 05-12-2013, 06:10 PM
RE: Fire Field - Art - 05-13-2013, 06:11 AM
RE: Fire Field - Wap - 05-13-2013, 09:04 AM
RE: Fire Field - RanXerox - 05-13-2013, 06:20 AM
RE: Fire Field - Ultima One - 05-13-2013 06:29 AM
RE: Fire Field - Art - 05-13-2013, 06:35 AM
RE: Fire Field - RanXerox - 05-13-2013, 08:14 AM
RE: Fire Field - Rizz - 05-15-2013, 09:57 AM

Forum Jump:


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