Hey Zcoretri , don't bother with these spell effects. Ive discovered a bit more about them:
<Struct Name="Substruct_SpellEffects" ClientVersion="843" >
<Data ElementName="spell_id" Type="int32" Size="1" />
<Data ElementName="total_time" Type="float" Size="1" />
<Data ElementName="expire_timestamp" Type="int32" Size="1" />
<Data ElementName="icon" Type="int16" Size="1" />
<Data ElementName="icon_type" Type="int16" Size="1" />
<Data ElementName="unknown2" Type="int16" Size="1" />
</Struct>
<Struct Name="Substruct_MaintainedEffects" ClientVersion="1">
<Data ElementName="name" Type="char" Size="60" />
<Data ElementName="target" Type="int32" Size="1" />
<Data ElementName="target_type" Type="int8" Size="1" />
<Data ElementName="spell_id" Type="int32" Size="1" />
<Data ElementName="slot_pos" Type="int32" Size="1" />
<Data ElementName="icon" Type="int16" Size="1" />
<Data ElementName="icon_type" Type="int16" Size="1" />
<Data ElementName="unknown3" Type="int8" Size="1" />
<Data ElementName="conc_used" Type="int8" Size="1" />
<Data ElementName="total_time" Type="float" Size="1" />
<Data ElementName="expire_timestamp" Type="int32" Size="1" />
</Struct>
Using these structs plus a few changes to World, the spells display the time remaining, flash, and go away like Live. I'm out of time for tonight, but I'll try to fix the remaining bugs tomorrow and get it checked in.
spell icons in maintained window
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: spell icons in maintained window
Nice work LE, can't wait to check it out 
Who is online
Users browsing this forum: No registered users and 0 guests