SolvedNeed Help on AS3 source

Posts 1–5 of 5 · Page 1 of 1
Need Help on AS3 source
I tried changing slot types and adding mp cost but I cant make this work. I was wonder how I can make normal weapons ex: staff cost a certain mana per shot. Thank you very much
You change the weapon in the xml?
Yeah I did that but when I click it doesnt drain mp
Quote Originally Posted by Dylanl19109051 View Post
Yeah I did that but when I click it doesnt drain mp
Let me see, post your xml
<Object type="0xc90" id="Beta Staff">
<Class>Equipment</Class>
<Item/>
<Texture><File>lofiObj6</File><Index>0x41</Index></Texture>
<SlotType>17</SlotType>
<Tier>0</Tier>
<Description>A magical wooden staff topped with a white crystal.</Description>
<RateOfFire>1</RateOfFire>
<Sound>weapon/fire_wand</Sound>
<Projectile>
<ObjectId>Grey Missile</ObjectId>
<Speed>180</Speed>
<MinDamage>0</MinDamage>
<MaxDamage>99999</MaxDamage>
<LifetimeMS>475</LifetimeMS>
<Amplitude>0.5</Amplitude>
<Frequency>2</Frequency>
</Projectile>
<BagType>0</BagType>
<MpCost>10</MpCost>
<NumProjectiles>2</NumProjectiles>
<ArcGap>0</ArcGap>
<OldSound>magicShoot</OldSound>
</Object>
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us