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
an0n!m0use
Journeyman
*

Posts: 56
Likes Given: 16
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #3
Question RE: Shield of Flame Strike
(07-20-2013 02:54 AM)darksun84 Wrote:  The problem is when morey becomes 0, the protection continue to work because the item is still equipped.
Thx Veryhappy


Can you help me with this recharging bottle ... For Flame Strike shield ...
PHP Code:
[ITEMDEF i_recharging_potion]
Name=Recharging Potion
ID
=i_bottle_3
WEIGHT
=1

On
=@Create
    COLOR
=00
    MOREY
=10

On
=@Click
    message 
@63 <name>
    
message (Charges: <morey>)
    return 
1
    
On
=@DClick
    
if <topobj> != <src>
        
src.sysmessage You can't reach that
        return 1
    endif
        target What item do you want to recharge?
        return 1
    
On=@Targon_item
    if <argo.topobj> != <src>
        src.sysmessage You can'
t reach that
    elif 
<argo.topobj> != (<argo.BaseID>==i_shield_of_flame)
        
src.sysmessage You can't reach that
    else
        argo.morey += 10
    endif
    return 1

On=@Targon_char
    src.sysmessage You can'
t reach that
    
return 1
    
On
=@Targon_ground
    src
.sysmessage You can't reach that
    return 1 
(This post was last modified: 07-21-2013 10:12 AM by an0n!m0use.)
07-20-2013 09:31 PM
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: 3 Guest(s)