Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
region_antimagic_all prevents resurrection from t_shrine
Author Message
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #1
region_antimagic_all prevents resurrection from t_shrine
Since region_antimagic_all prevents resurrection from t_shrine, is possible to avoid and get the resurrection anyway?

I reported in bugtracker anyway.
07-06-2015 07:25 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: region_antimagic_all prevents resurrection from t_shrine
I think you can override t_shrine typedef and put resurrect 1 (force resurrect even if anti-magic) return 1 in the @dclick trigger.
07-06-2015 08:13 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
Shamino
Noob Scripter
*

Posts: 57
Likes Given: 5
Likes Received: 15 in 11 posts
Joined: Mar 2012
Reputation: 0

Exilio UO

Post: #3
RE: region_antimagic_all prevents resurrection from t_shrine
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

"My world is hell for the infidels. My blood pleasure of the immortals"
[Image: 2ec003662b15c61da117767a59bb99bao.jpg]
(This post was last modified: 07-07-2015 04:07 AM by Shamino.)
07-07-2015 04:06 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Shamino's post
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #4
RE: region_antimagic_all prevents resurrection from t_shrine
Thx all!
07-07-2015 06:43 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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