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
Resurrection malus
Author Message
Claus
Apprentice
*

Posts: 21
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: Jan 2014
Reputation: 0



Post: #1
Resurrection malus
Hi, since I tried, without success, to create a script that made sure that, at the time of the resurrection, the character had the stats stuck at 20 for some time, I ask you for help

so i have this
Code:
[function f_resurrection]
targetf r_resurrection_targ
        SRC.NEWITEM=i_timer_GEN_COOLDOWN_20
        SRC.TAG.GC8UID=<NEW.UID>
        SRC.ACT.EQUIP
        
[function r_resurrection_targ]    
        src.say @,3,1 Tym Vas
        argo.resurrect
        argo.str = 20
        argo.int = 20
        argo.dex = 20
        argo.say = *I'm sick after return to life*
        src.mana -=75
        ARGO.effect 3,I_FX_HEAL_EFFECT,5,16,0
        argo.NEWITEM=i_timer_res_sikness
        argo.sysmessage Return to life!
        argo.TAG.GC240UID=<NEW.UID>
        uid.<argo.uid>.equip=<argo.act.uid>

end timer obj
Code:
[ITEMDEF i_timer_res_sickness]            
NAME=Delay Teleport
ID=i_handr_1
TYPE=T_EQ_SCRIPT

ON=@Create
ATTR=attr_invis | attr_decay
MORE1=24

ON=@Equip
TIMER=10

ON=@Timer
cont.str = [color=#FF0000] here i need help   if i put here for example 400, after ten second the stats will be 400, i need a way to store strengt before ress [/color]
cont.int = [color=#FF0000] here i need help
cont.dex = [color=#FF0000] here i need help
CONT.TAG.CG240=
CONT.TAG.GC240UID=
remove
return 1

as you can see I have difficulty making sure that after the second resurrection the character returns to his normal stats
how can I do?[/color]
(This post was last modified: 06-02-2020 12:57 AM by Claus.)
06-02-2020 12:52 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Resurrection malus - Claus - 06-02-2020 12:52 AM
RE: Resurrection malus - Coruja - 06-02-2020, 04:30 AM

Forum Jump:


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