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
Scrolls not stacking properly?
Author Message
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #11
RE: Scrolls not stacking properly?
Said another way, the scrolls don't stack because they are not the same. They are at different casting levels. Make the MOREY one static value and delete any existing scrolls and they will be the same.
04-30-2012 06:37 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #12
RE: Scrolls not stacking properly?
(04-29-2012 11:07 PM)Reflex Wrote:  For some reason my scrolls don't want to stack even though they are exactly the same? For example If I create a scroll .add i_Scroll_harm then i_scroll_harm again.. They wont stack? I'm confused here.. ;p

Code:
[ITEMDEF 01f38]
DEFNAME=i_scroll_harm
RESOURCES=i_scroll_blank, i_reag_nightshade, i_reag_spider_silk
SKILLMAKE=INSCRIPTION 20.0, MAGERY 10.0
TYPE=T_SCROLL
WEIGHT=1
//CIRCLE=2
CATEGORY=Provisions - Alchemy & Magic
SUBSECTION=Scrolls - 2nd Circle
DESCRIPTION=Harm Scroll

ON=@Create
    ATTR=ATTR_MAGIC
    MOREX=s_harm
    MOREY={20 60}

Scrolls crafted with different inscription levels are have different moreys, even you modify the morey under @create, inscription skill will change the morey. You can modify the inscription skill or use @skillmakeitem for the handle scrolls.
(This post was last modified: 04-30-2012 06:46 AM by Shaklaban.)
04-30-2012 06:46 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

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



Post: #13
RE: Scrolls not stacking properly?
The Wiki has this to say about th scroll type:

Quote:t_scroll 32 This type is used for scrolls. It leverages the following properties:

MOREX = ID of the spell to cast when double-clicked
MOREY = Power of the spell (equivalent to the EFFECT setting of the spell itself?)

Kinda sounds like speculation... now I would like to hear from a developer on the actual implementation of MOREY :-)
04-30-2012 07:41 AM
Find all posts by this user Like Post Quote this message in a reply
ShiryuX
Journeyman
*

Posts: 249
Likes Given: 1
Likes Received: 19 in 14 posts
Joined: Mar 2010
Reputation: 4



Post: #14
RE: Scrolls not stacking properly?
It's the spell level Tongue
04-30-2012 07:58 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #15
RE: Scrolls not stacking properly?
Here was the fix, if for example the MOREY={50 70} we just made it MOREY=60 the average so each scroll is created with a set morey instead of using ranges so that way all scrolls become stackable.

Code:
[ITEMDEF 01f3e]
DEFNAME=i_scroll_fireball
RESOURCES=i_scroll_blank, i_reag_black_pearl, i_reag_sulfur_ash
SKILLMAKE=INSCRIPTION 30.0, MAGERY 20.0
TYPE=T_SCROLL
WEIGHT=1
//CIRCLE=3
CATEGORY=Provisions - Alchemy & Magic
SUBSECTION=Scrolls - 3rd Circle
DESCRIPTION=Fireball Scroll

ON=@Create
    ATTR=ATTR_MAGIC
    MOREX=s_fireball
    MOREY=50
04-30-2012 11:03 AM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

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



Post: #16
RE: Scrolls not stacking properly?
Spell level is inaccurate ShiryuX. Smile. I know what you meant though.

It is the magery value of the scroll. IE the strength of magery that affects the scrolls. High magery yields better effects Smile
05-01-2012 11:23 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)