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
Hello guys
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #3
RE: Hello guys
A couple things:

(<Eval.rand(1,2)> == 1) can be written (<R1,2>==1)

Also, paralyze is a harmful spell (that can also be resisted), by virtue of its flags which by default are: FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_DIR_ANIM| SPELLFLAG_HARM| SPELLFLAG_FX_TARG| SPELLFLAG_RESIST

So when you use SPELLEFFECT, you likely need to indicate the source of the damage etc: SPELLEFFECT spell_id, strength, source_character_uid, source_item_uid

If you don't supply the source of the damage, it probably assumes SRC, and since in these triggers that is you (and you normally don't damage yourself) it may be ignoring the effect.
(This post was last modified: 04-06-2013 02:08 AM by RanXerox.)
04-06-2013 02:06 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Hello guys - Dullais - 04-06-2013, 01:40 AM
RE: Hello guys - Shaklaban - 04-06-2013, 02:04 AM
RE: Hello guys - Dullais - 04-06-2013, 03:00 AM
RE: Hello guys - RanXerox - 04-06-2013 02:06 AM

Forum Jump:


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