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
src.spelleffect with area spells not working
Author Message
Rizz
Master
**

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



Post: #1
src.spelleffect with area spells not working
PHP Code:
ON=@spelleffect
IF (!<src.findid.i_rune_MAGIC_REFLECTION.uid>)
SRC.SPELLEFFECT=<ARGN1>,<src.magery//<-- problem is here!
return 1
ENDIF 

SRC.SPELLEFFECT will not work with area spells such as chain lighting or meteorswarm.
What should i do? Use a src.effect and add damages?
(This post was last modified: 08-10-2014 07:38 PM by Rizz.)
08-10-2014 07:36 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #2
RE: src.spelleffect with area spells not working
It fires for me

14:29:(sphere_skills.scp,1351)In @SpellEffect baobab hit by Meteor Swarm
14:29:1:'pietro' commands 'spelleffect 55,1000'=1


But I think your script will also cause a crash sisi
(This post was last modified: 08-10-2014 10:31 PM by darksun84.)
08-10-2014 10:29 PM
Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

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



Post: #3
RE: src.spelleffect with area spells not working
If you use the command in game it also works for me.
That is a small part of a script, not the entire; it never caused crash Tongue
(This post was last modified: 08-10-2014 10:40 PM by Rizz.)
08-10-2014 10:39 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #4
RE: src.spelleffect with area spells not working
It works for me even by calling spelleffect by script Confused
08-11-2014 12:34 AM
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)