View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002534SphereServerexecutable - genericpublic06-07-15 11:2008-07-15 10:49
ReporterRizz 
Assigned ToXuN 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0002534: region_antimagic_all prevents resurrection from t_shrine
Descriptionregion_antimagic_all now prevents resurrection from t_shrine so is not possible to resurrect someone.
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number2364
Attached Files

- Relationships

-  Notes
(0002903)
Shamino (reporter)
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 (developer)
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.

- Issue History
Date Modified Username Field Change
06-07-15 11:20 Rizz New Issue
06-07-15 20:06 Shamino Note Added: 0002903
06-07-15 20:07 Shamino Note Edited: 0002903 View Revisions
08-07-15 10:49 XuN Note Added: 0002907
08-07-15 10:49 XuN Status new => resolved
08-07-15 10:49 XuN Fixed in Version => 0.56c Nightly
08-07-15 10:49 XuN Resolution open => fixed
08-07-15 10:49 XuN Assigned To => XuN


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker