Originally Posted by
ocud
I am having trouble with creating a new scepter.
Code:
<Object type="0x2047" id="Scepter of Spam">
<Class>Equipment</Class>
<Item/>
<Texture><File>lofiObj6</File><Index>0xc0</Index></Texture>
<SlotType>23</SlotType>
<Description>Walk into the club like what up I got a spamming scepter.</Description>
<ActivateOnEquip stat="28" amount="40">IncrementStat</ActivateOnEquip>
<Sound>spell/magic_nova</Sound>
<Usable/>
<BagType>4</BagType>
<FameBonus>6</FameBonus>
<MpCost>5</MpCost>
<Activate totalDamage="50" maxTargets="20">Lightning</Activate>
<Cooldown>0.1</Cooldown>
</Object>
I am able to create other items just fine. And no, the ID does not exist in any of the XML's in DB.
Expected code structure:
Code:
<Object type="0x2047" id="Scepter of Spam">
<Class>Equipment</Class>
<Item/>
<Texture>
<File>lofiObj6</File>
<Index>0xc0</Index>
</Texture>
<SlotType>23</SlotType>
<Description>Walk into the club like "what's up I got a spamming scepter".</Description>
<Sound>spell/magic_nova</Sound>
<ActivateOnEquip stat="20" amount="2">IncrementStat</ActivateOnEquip>
<ActivateOnEquip stat="27" amount="2">IncrementStat</ActivateOnEquip>
<Usable/>
<BagType>2</BagType>
<FameBonus>6</FameBonus>
<MpCost>5</MpCost>
<Activate totalDamage="50" maxTargets="20" color="0xff9933">Lightning</Activate>
</Object>
The color is not implicit, care.