Claus
Apprentice
Posts: 21
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: Jan 2014
Reputation: 0
|
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 |
|
|