SphereCommunity
Scrolls not stacking properly? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Scrolls not stacking properly? (/Thread-Scrolls-not-stacking-properly)

Pages: 1 2


Scrolls not stacking properly? - Reflex - 04-29-2012 11:07 PM

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}



RE: Scrolls not stacking properly? - Ben - 04-29-2012 11:29 PM

MOREY={20 60}

This creates a random MOREY... different MOREY will not stack... This has been the case for as long as I remember... and before you ask... it can't be fixed!


RE: Scrolls not stacking properly? - Reflex - 04-29-2012 11:42 PM

What is the MOREY for exactly?


RE: Scrolls not stacking properly? - Ben - 04-30-2012 12:14 AM

I believe that is the strenght of the spell


RE: Scrolls not stacking properly? - Reflex - 04-30-2012 12:32 AM

So is it possible to manually script everything within the spell and make it static without a range then remove it possibly? so scrolls stack.


RE: Scrolls not stacking properly? - Khaos - 04-30-2012 12:51 AM

Morey is probably messing it up.
Also, add this in somewhere in the basedef or after @create trigger:
Code:
can=can_i_pile|can_i_flip



RE: Scrolls not stacking properly? - Reflex - 04-30-2012 01:08 AM

No Luck..

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
can=can_i_pile|can_i_flip
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}
    //can=can_i_pile|can_i_flip // gives error when being placed here. No errors if placed where it is currently under itemdef. I also tried adding this to all the unnamed scrolls.



RE: Scrolls not stacking properly? - Khaos - 04-30-2012 01:19 AM

You are going to have to make morey a static value. Which won't change the ones on the server.


RE: Scrolls not stacking properly? - Reflex - 04-30-2012 06:25 AM

I couldn't find anything on what exactly the scroll's settings do. I am really confused as to what the MOREY actually does. Ben said it's the strength. However, what do you mean by strength? There are other variables that specify the strength via the Spell script. So what does the scroll morey actually do?
Example:

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

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



RE: Scrolls not stacking properly? - Khaos - 04-30-2012 06:27 AM

Effects the strength of the spell on the scroll as strength is effected by your magery skill in the spell. It is basically like a stored magery value.