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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shield of Flame Strike
Author Message
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Shield of Flame Strike
The problem is when morey becomes 0, the protection continue to work because the item is still equipped.

So you can add another condition to the spelleffect if
PHP Code:
if (<argn>==51) && (<FINDLAYER.2.BaseID>==i_shield_of_flame) && (<FINDLAYER.2.morey> > 0)
        
FINDLAYER.2.morey -= 1
        effect
=3,i_fx_glow,5,15,0
        
return 1
endif 
(This post was last modified: 07-20-2013 02:55 AM by darksun84.)
07-20-2013 02:54 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Shield of Flame Strike - an0n!m0use - 07-20-2013, 01:26 AM
RE: Shield of Flame Strike - darksun84 - 07-20-2013 02:54 AM
RE: Shield of Flame Strike - an0n!m0use - 07-20-2013, 09:31 PM
RE: Shield of Flame Strike - xwerswoodx - 07-21-2013, 02:55 PM
RE: Shield of Flame Strike - an0n!m0use - 07-22-2013, 07:43 AM
RE: Shield of Flame Strike - xwerswoodx - 07-22-2013, 10:29 PM
RE: Shield of Flame Strike - an0n!m0use - 07-22-2013, 11:43 PM

Forum Jump:


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