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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom spells and rune_item
Author Message
karma
Moderator
****

Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3



Post: #1
Custom spells and rune_item
Take the case i'm scripting a new invisibility spell. I want it to equip i_rune_invisibility as a memory. How can i do it?
Setting proper RUNE_ITEM, DURATION and LAYER don't make the spell create or equip the item. Also, the i_rune_invisibility has LAYER=0 and TYPE=t_spellicon, i can change the type to t_spell but not the layer, so i can't equip it. Funny thing is that the i_rune_invisibility created by the hardcoded spell s_invisibility has LAYER=39 (the one i set as spell's layer).
01-23-2016 06:19 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Custom spells and rune_item - karma - 01-23-2016 06:19 AM
RE: Custom spells and rune_item - Kanibal - 01-23-2016, 06:32 AM
RE: Custom spells and rune_item - karma - 01-23-2016, 07:41 AM
RE: Custom spells and rune_item - karma - 01-23-2016, 06:25 PM
RE: Custom spells and rune_item - Khaos - 02-19-2016, 12:27 PM
RE: Custom spells and rune_item - karma - 02-19-2016, 06:49 PM
RE: Custom spells and rune_item - Khaos - 02-19-2016, 07:53 PM

Forum Jump:


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