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-nmm6 (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-nmm6 (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-nmm6 (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
magic issue
Author Message
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #21
RE: magic issue
No problem sweetie!!! You have a good evening and never be shy to ask for help!!!! We are here for you if you need us. Smile So glad it is all working though!!!!!
03-28-2016 07:39 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like Khaos's post
Rostok
Apprentice
*

Posts: 31
Likes Given: 6
Likes Received: 2 in 1 posts
Joined: Mar 2016
Reputation: 0



Post: #22
RE: magic issue
My Solution:

[Spell 5]
DEFNAME=s_magic_arrow
NAME=Magic Arrow
SOUND=snd_SPELL_MAGIC_ARROW
CAST_TIME=1.0
RUNES=IPY
RESOURCES=i_reag_black_pearl,i_reag_nightshade
RUNE_ITEM=i_rune_MAGIC_ARROW
SCROLL_ITEM=i_scroll_MAGIC_ARROW
FLAGS=SPELLFLAG_TARG_CHAR | SPELLFLAG_DIR_ANIM | SPELLFLAG_HARM | SPELLFLAG_DAMAGE |spellflag_resist | spellflag_fx_bolt
EFFECT_ID=i_fx_fireball_small
EFFECT=2,3
DURATION=0.0
MANAUSE=4
SKILLREQ=MAGERY 10.0
INTERRUPT=100.0,100.0
(This post was last modified: 03-28-2016 10:48 AM by Rostok.)
03-28-2016 10:38 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like Rostok's post
Sum
Apprentice
*

Posts: 40
Likes Given: 32
Likes Received: 5 in 4 posts
Joined: Feb 2016
Reputation: 0



Post: #23
RE: magic issue
(03-28-2016 07:39 AM)Khaos Wrote:  No problem sweetie!!! You have a good evening and never be shy to ask for help!!!! We are here for you if you need us. Smile So glad it is all working though!!!!!

You're the best hun thank you again!!

and thank you Rostok for your solution as well!!
03-28-2016 03:55 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like Sum's post
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #24
RE: magic issue
hi and sorry for late my problem was that SPELLFLAG_HARM wasn't paired with SPELLFLAG_DAMAGE as you have seen by other answeres
03-30-2016 06:15 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes zottolo's post
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #25
RE: magic issue
Because SpellFlag_Damage is to use Local.DamageType or whatever. Shouldn't have needed to be paired if I remember right. Will see what Xun says, since I think this was his addition. As written SpellFHarm should have been enough.

SpellFDamage 08000000 // kinda harm but deals damage to the targ, damage type is LOCAL.DamageType.


Will double check, but it doesn't seem like this should be needed unless you are overriding damage type.
03-31-2016 12:05 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Khaos's post
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #26
RE: magic issue
You should update sphere_spells (flags, layer...) if moving from an older version.

BTW:
Code:
25-07-2012, ShiryuX
- Added: SPELLFLAG_TARG_DEAD so you can create spells for dead people.
- Added: SPELLFLAG_DAMAGE for damage spells, along with HARM effect.
         You can override the Damage Type under @(Spell)Effect with LOCAL.DamageType.
04-01-2016 01:51 AM
Find all posts by this user Like Post Quote this message in a reply
Sum
Apprentice
*

Posts: 40
Likes Given: 32
Likes Received: 5 in 4 posts
Joined: Feb 2016
Reputation: 0



Post: #27
RE: magic issue
Thanks everyone for your responses!!
04-08-2016 03:22 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)