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
t_scroll's spell power
Author Message
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #1
t_scroll's spell power
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?
02-15-2016 09:39 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
t_scroll's spell power - Artyk - 02-15-2016 09:39 AM
RE: t_scroll's spell power - karma - 02-16-2016, 10:10 PM
RE: t_scroll's spell power - Coruja - 02-17-2016, 01:54 AM

Forum Jump:


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