Owellow

Member
Hey guys, how would I go about making items like Pickaxes, Sewing Kits, Pens, etc. have infinite charges?

Would it be possible to make a Runebook have infinite charges aka not require recalls just always be full?

Thanks in advance for your response.
 
an idea i use for runebooks is to set it so the button that normally uses charges does recall instead
( i also set recall to not require any skill or mana so it works for me )

anyway in runebook.cs

Code:
[CommandProperty(AccessLevel.GameMaster)]
        public int CurCharges
        {
            get
            {
                return this.m_CurCharges;
            }
            set
            {
                this.m_CurCharges = value;
            }
        }

before this.m_CurCharges = value;
add if( value != m_MaxCharges) { value = MaxCharges; }

that will set it so charges are always maxed
 
You could do this dynamically too, have a MaxCharges value of -1 to represent that the item should not consume charges, then check if MaxCharges is greater than or equal to zero before consuming or deleting the item when used.
 

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back