SphereCommunity
t_scroll's spell power - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: t_scroll's spell power (/Thread-t-scroll-s-spell-power)



t_scroll's spell power - Artyk - 02-15-2016 09:39 AM

Hi guys, I'm trying to create some new spells and related scrolls and at the moment i'm stuck on the meaning of MOREY for the type t_scroll

that's what is written in the wiki:
Quote:MOREY = Power of the spell (equivalent to the EFFECT setting of the spell itself?)

looking at the other scrolls i found on MOREY a random value in a range that never exceed 100

peeking on the source i found in graysvr/CObjBase.h :

Code:
        // IT_SCROLL
        // IT_COMM_CRYSTAL
        // IT_CAMPFIRE
        // IT_LAVA
        struct
        {
            short m_PolyStr;    // more1l=polymorph effect of this. (on strength)
            short m_PolyDex;    // more1h=polymorph effect of this. (on dex)
            int  m_spellcharges; // more2=not sure how used here..
            WORD m_spell;        // morex=SPELL_TYPE = The magic spell cast on this. (daemons breath)(boots of strength) etc
            WORD m_spelllevel;    // morey=0-1000=level of the spell.
            BYTE m_pattern;        // morez = light pattern - CAN_I_LIGHT LIGHT_QTY
        } m_itSpell;

So my questions are:
How does morey actually work?
Are the other scrolls wrong or are they intentionally set to those values?


RE: t_scroll's spell power - karma - 02-16-2016 10:10 PM

Probably it is a random value set just to not have someone casting a spell with 0 (otherwise the default) power. I guess it is the ARGN3 of @SpellEffect: A multiplier for the spell's duration or effect. Note: Only used when a character is hit by a spell.


RE: t_scroll's spell power - Coruja - 02-17-2016 01:54 AM

MOREY is the same as the char skill. If the scroll have MOREY=50.0 set, it's the same thing that cast this spell on a char with 50.0 magery

I can't remember exactly, but scrolls have random MOREY by default (set by @Create on scripts), or if crafted by players it will be created with the same MOREY of the player skill (eg: a player with 30.0 Inscription will craft scrolls with MOREY=30.0)