ServUO Version
Publish Unknown
Ultima Expansion
Renaissance
sorry super old school, I was hoping someone had a simple edit I could do to no longer require reagents for spells. At the least magery. Im running RUNUO 2.3
 
In ServUo,in Spell.cs,take a look on something like that method:
C#:
public virtual bool CheckSequence()

And comment in ServUo case:

C#:
else if (!ConsumeReagents())
            {
                m_Caster.LocalOverheadMessage(MessageType.Regular, 0x22, 502630); // More reagents are needed for this spell.
            }
Just take a look on the message you receive when do not have regs to cast spell,and look for this message inside scripts.
 
In ServUo,in Spell.cs,take a look on something like that method:
C#:
public virtual bool CheckSequence()

And comment in ServUo case:

C#:
else if (!ConsumeReagents())
            {
                m_Caster.LocalOverheadMessage(MessageType.Regular, 0x22, 502630); // More reagents are needed for this spell.
            }
Just take a look on the message you receive when do not have regs to cast spell,and look for this message inside scripts.
i cant copy this and use it? anybody know the exact code to add and where? runuo 2.3 thx
 
Find in Spell.cs

public virtual bool ConsumeReagents()

Add the following at the very top

return true;
 
I dont understand "add the following at the very top" right below the public virtual bool consume reagents?


public virtual bool ConsumeReagents()
returntrue;


like the above?
 

Active Shards

Donations

Total amount
$5.00
Goal
$500.00
Back