|
||
|
|
#2 (permalink) |
|
Join Date: Jan 2003
Age: 23
Posts: 177
|
i finally did it. my first code edit which works! tested on both admin account and player account. my admin is greater than a gm, so it works
![]() [code:1] public virtual bool ConsumeReagents() { if ( m_Caster.AccessLevel >= AccessLevel.GameMaster ) return true; else if ( m_Scroll != null || !m_Caster.Player ) return true; Container pack = m_Caster.Backpack; if ( pack == null ) return false; return ( pack.ConsumeTotal( m_Info.Reagents, m_Info.Amounts ) == -1 ); } [/code:1] in /scripts/spells/base/spell.cs find and overwrite the ConsumeReagents bool for gm or higher casting without regs ![]() *feels proud of self* |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|