Not sure what I did wrong. It's added in Dat1, Binary, and PlayerCXML. It was working for a bit, but then I tried adding its ability and messed everything up. Any help will be much appreciated! [Edit: Forgot to mention that the issue is that the game won't load. As soon as I open the swf, I get a black screen.]
Code:
<Object type="0xc0f4" id="Trapper">
<Class>Player</Class>
<Description>The Trapper uses a bow to attack at long range and leaves snares for his enemies.</Description>
<AnimatedTexture>
<File>players</File>
<Index>14</Index>
</AnimatedTexture>
<HitSound>player/rogue_hit</HitSound>
<DeathSound>player/rogue_death</DeathSound>
<Player/>
<BloodProb>1.0</BloodProb>
<SlotTypes>3, 30, 6, 9, 0, 0, 0, 0, 0, 0, 0, 0</SlotTypes>
<Equipment>0xa1a, 0xa61, -1, -1, 0xa22, -1, -1, -1, -1, -1, -1, -1</Equipment>
<MaxHitPoints max="700">130</MaxHitPoints>
<MaxMagicPoints max="252">100</MaxMagicPoints>
<Attack max="70">12</Attack>
<Defense max="25">0</Defense>
<Speed max="55">12</Speed>
<Dexterity max="60">12</Dexterity>
<HpRegen max="30">12</HpRegen>
<MpRegen max="60">10</MpRegen>
<LevelIncrease min="20" max="30">MaxHitPoints</LevelIncrease>
<LevelIncrease min="2" max="8">MaxMagicPoints</LevelIncrease>
<LevelIncrease min="1" max="2">Attack</LevelIncrease>
<LevelIncrease min="0" max="0">Defense</LevelIncrease>
<LevelIncrease min="0" max="2">Speed</LevelIncrease>
<LevelIncrease min="0" max="2">Dexterity</LevelIncrease>
<LevelIncrease min="0" max="1">HpRegen</LevelIncrease>
<LevelIncrease min="0" max="2">MpRegen</LevelIncrease>
<UnlockLevel level="20" type="0x0310">Huntress</UnlockLevel>
<UnlockLevel level="20" type="0x0310">Assassin</UnlockLevel>
<UnlockCost>999</UnlockCost>
<DisplayId>Trapper</DisplayId>
</Object>
Code:
<Object type="0xc0f5" id="Basic Snare">
<Class>Equipment</Class>
<Item/>
<Texture>
<File>lofiObj5</File>
<Index>0xf9</Index>
</Texture>
<SlotType>30</SlotType>
<Tier>0</Tier>
<Description>A snare taught to every young Trapper.</Description>
<Usable/>
<BagType>1</BagType>
<MpCost>40</MpCost>
<Activate radius="1.5" totalDamage="60" condEffect="Paralyzed" condDuration=".5">Trap</Activate>
<feedPower>5</feedPower>
<DisplayId>Basic Snare</DisplayId>
</Object>