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
Ressurection help
Author Message
Llirik
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 10 in 8 posts
Joined: Feb 2015
Reputation: 0

Ignatium.

Post: #4
RE: Ressurection help
Type for t_shrine:

[TYPEDEF t_shrine]
ON=@ContextMenuRequest
SRC.AddContextEntry 101,3006195,<QVAL (<SRC.FLAGS> & statf_dead)? 0:1> //Resurrect
SRC.AddContextEntry 102,3006049,<QVAL (<SRC.Necromancy> < 1000) && (<SRC.FLAGS> & statf_dead) ? 0:1> // Train Necromancy

ON=@ContextMenuSelect
IF (<ARGN>==101) && (<SRC.FLAGS> & statf_dead)
SRC.RESURRECT
ENDIF

IF (<ARGN>==102) && (<SRC.FLAGS> & statf_dead) && (<SRC.Necromancy> < 1000)
IF (<SRC.GOLD> >= 10000)
SRC.GOLD -= 10000
SRC.UPDATE
src.Necromancy += 1
SRC.RESURRECT
ELSE
SRC.SYSMESSAGE You don't have 10000 gold.
ENDIF
ENDIF

Smile
(This post was last modified: 03-13-2016 05:40 PM by Llirik.)
03-13-2016 05:30 PM
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
Ressurection help - darksoulfe - 03-10-2016, 11:27 PM
RE: Ressurection help - Kanibal - 03-11-2016, 05:48 PM
RE: Ressurection help - rastrero - 03-12-2016, 06:05 AM
RE: Ressurection help - Llirik - 03-13-2016 05:30 PM
RE: Ressurection help - Khaos - 03-13-2016, 10:31 PM

Forum Jump:


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