SphereServer BugTracker - SphereServer
View Issue Details
0002534SphereServerexecutable - genericpublic06-07-15 11:2008-07-15 10:49
Rizz 
XuN 
normalmajoralways
resolvedfixed 
 
0.56c Nightly 
Automated (specify build number)
None
None
2364
0002534: region_antimagic_all prevents resurrection from t_shrine
region_antimagic_all now prevents resurrection from t_shrine so is not possible to resurrect someone.
No tags attached.
Issue History
06-07-15 11:20RizzNew Issue
06-07-15 20:06ShaminoNote Added: 0002903
06-07-15 20:07ShaminoNote Edited: 0002903bug_revision_view_page.php?bugnote_id=0002903#r893
08-07-15 10:49XuNNote Added: 0002907
08-07-15 10:49XuNStatusnew => resolved
08-07-15 10:49XuNFixed in Version => 0.56c Nightly
08-07-15 10:49XuNResolutionopen => fixed
08-07-15 10:49XuNAssigned To => XuN

Notes
(0002903)
Shamino   
06-07-15 20:06   
(edited on: 06-07-15 20:07)
U need to add CAN_I_FORCEDC to shrine item and this custom typedef.

If you dont like create a new item shrine, u can create a normal ankh and type:
.xattr 010
.xcan |= can_i_forcedc
.xtype t_shrine_help

Code:
[TYPEDEF t_shrine_help]
ON=@DCLICK
IF (<SRC.FLAGS>&statf_dead)
    SRC.RESURRECT 1
    SRC.HITS=<SRC.MAXHITS>
    SRC.STAM=<SRC.MAXSTAM>
    SRC.MANA=<SRC.MAXMANA>
    RETURN 1
ELSE
    SRC.SYSMESSAGE You're full of life, you must be dead to use the ankh.
    RETURN 1
ENDIF

(0002907)
XuN   
08-07-15 10:49   
Best way to override it is to tweak the current t_shrine:


[TYPEDEF t_shrine]
ON=@DClick
if (<src.flags>&statf_dead)
 src.resurrect 1
 return 1
endif
//no return here, so default msg is displayed too.

You can additionally add the can_i_forcedc as Shamino said to let it be useable from any distance, even if you don't have LOS.