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
I need a little help here
Author Message
Khaos
Master
**

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



Post: #7
RE: I need a little help here
Code:
EquippedCast=0

Will fix the issue.

If you plan to use spellchanneling=1 through in items, you want to set it to 1. Then use this:

Code:
on=@SpellCast
// Spell Channeling Code.
if (<src.spellchanneling> != 1)
if (<src.findlayer.layer_hand1.uid.spellchanneling> != 1)
  src.findlayer.layer_hand1.uid.unequip
endif
if (<src.findlayer.layer_hand2.uid.spellchanneling> != 1)
  src.findlayer.layer_hand2.uid.unequip
endif
endif
return 0

This would simulate accurate spell channeling code. All spell books are/should be spell channeling by default (hidden property).

edit: added in parsing to check for the character having spellchanneling=1. This could be used to make it so a custom assignment would override needing spellchanneling on the item.

So good to be back. ^_^
(This post was last modified: 02-18-2016 07:04 AM by Khaos.)
02-18-2016 06:53 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
I need a little help here - jexnico - 02-18-2016, 05:19 AM
RE: I need a little help here - karma - 02-18-2016, 05:49 AM
RE: I need a little help here - Kanibal - 02-18-2016, 06:04 AM
RE: I need a little help here - jexnico - 02-18-2016, 06:30 AM
RE: I need a little help here - Kanibal - 02-18-2016, 06:38 AM
RE: I need a little help here - jexnico - 02-18-2016, 06:48 AM
RE: I need a little help here - Khaos - 02-18-2016 06:53 AM

Forum Jump:


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