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
Targon_ground
Author Message
XuN
Sphere Developer
*****

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



Post: #8
RE: Targon_ground
(10-26-2013 08:02 PM)seafish Wrote:  thanx, but effect=100 doesnt set the charges for rune after Mark spell.
2.
Code:
[b]ELIF[/b] (<ACT.BaseID>==i_rune_marker)
   ACT.MORE1=100
the same story. please help me, I need some help.

You need to learn first what is an ELIF for: It represents a condition check for ANYTHING that has not be correct before.

Code:
IF (<ARGN>==45) //If spell is mark
ELIF (<ACT.BaseID>==i_rune_marker) //if spell IS NOT 45 AND act = rune
MORE1=100
endif

Acording to this, if you cast a flamestrike to a rune it will be 'fire charged'? Tongue

This code should do the work:
Code:
IF (<ARGN>==45)
  IF (<ACT.BaseID>==i_rune_marker)
    ACT.MORE1=100
  endif
endif

And this one will make it smaller:

Code:
IF (<ARGN>==45) && (<ACT.BaseID>==i_rune_marker)
  ACT.MORE1=100
endif
10-26-2013 09:16 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Targon_ground - seafish - 10-26-2013, 07:00 AM
RE: Targon_ground - sco - 10-26-2013, 08:20 AM
RE: Targon_ground - seafish - 10-26-2013, 08:48 AM
RE: Targon_ground - RanXerox - 10-26-2013, 09:40 AM
RE: Targon_ground - seafish - 10-26-2013, 09:48 AM
RE: Targon_ground - Alaric - 10-26-2013, 10:39 AM
RE: Targon_ground - seafish - 10-26-2013, 08:02 PM
RE: Targon_ground - XuN - 10-26-2013 09:16 PM
RE: Targon_ground - seafish - 10-26-2013, 10:58 PM

Forum Jump:


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