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






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with custom spells...
Author Message
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #3
RE: Problem with custom spells...
(04-25-2012 06:34 PM)Jonaleth Wrote:  Any idea why this doesn't work;

[SPELL 121]
DEFNAME=s_healI
NAME=Heal
SOUND=snd_spell_heal
RUNES=
CAST_TIME=3
RESOURCES=
RUNE_ITEM=
SCROLL_ITEM=
FLAGS=SPELLFLAG_TARG_CHAR | SPELLFLAG_DIR_ANIM | SPELLFLAG_FX_TARG
EFFECT_ID=i_fx_heal_effect
EFFECT=3,15
DURATION=0
MANAUSE=5
SKILLREQ=SKILL_SPIRITSPEAK 40.0
INTERRUPT=100.0,1.0

ON=@Select
IF <mana> > 4
flags=<flags>|020
mana=<mana> + (-5)
RETURN 0
ELSE
RETURN 1
ENDIF

ON=@Success
src.gain_int 60
src.flags=<src.flags>|020

ON=@EFFECT
var0.healingpower=(<eval <src.spiritspeak>>/5)
src.SPELLEFFECT 4, <var0.healingpower>
src.sound=snd_spell_heal
ENDIF

It just tells me that I establish a communication with the spirit world or something. While other spells that has SkillReq: Spiritspeak works just fine. Even if I change the Spiritspeak to Magery, it still establish a communication with the spirit world. I just get confused.

as admin phoenix says if you want to change skillreq, resources etc. of a spell you need to restart the server.
(This post was last modified: 04-25-2012 08:52 PM by Shaklaban.)
04-25-2012 08:51 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with custom spells... - Jonaleth - 04-25-2012, 06:34 PM
RE: Problem with custom spells... - Shaklaban - 04-25-2012 08:51 PM
RE: Problem with custom spells... - Khaos - 04-29-2012, 01:26 PM
RE: Problem with custom spells... - Khaos - 05-01-2012, 11:28 AM

Forum Jump:


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