Spell category ini generator snippet

PeteSampras

Your UI is fucking you. Stop using it.
Joined
Dec 12, 2007
Messages
3,956
Reaction score
49
Points
38
This will create an ini based on spell categories. It wont work until the next version of compile is up. Just adding it while im thinking about it. TLO members added:
Spell[].Category
Spell[].Subcategory

These members mimic the EQ spell menu selector and may be used in a future feature.

use:
/mac spelltest
/mac spelltest 10

If no number is passed after name, it will default to 4 levels below current.
Code:
#define MyIni Ini_${Me.Name}_${Me.Class}.ini
Sub Main(int ilvl)
/declare lvl int outer ${If[${ilvl},${Math.Calc[${Me.Level}-${ilvl}]},${Math.Calc[${Me.Level}-4]}]}
/declare i int local
/for i ${Me.FirstBook} to ${Me.LastBook}
/if (${Me.Book[${i}].ID} && ${Me.Book[${i}].Level}>=${lvl}) /ini "MyIni" "${Me.Book[${i}].Category}" "${Me.Book[${i}]}" "${Me.Book[${i}].Subcategory}"
/next i
/return
Will generate something like:
Code:
[Taps]
Ninavero's Swift Lifedraw Rk. II=Health
Bleed Essence=Health
Hral's Swift Lifedraw=Health
Plunder Essence Rk. II=Health
Vollmondnacht Orb Rk. II=Create Item
Halstor's Grasp Rk. II=Duration Tap
Itkari's Swift Lifedraw=Health
Crippling Incapacity=Power Tap
[Utility Detrimental]
Arachne's Command Rk. II=Charm
Chaotic Contagion Rk. II=Resist Debuffs
Chaotic Corruption=Resist Debuffs
Shackle=Root
Foreboding=Enthrall
Mind Strip=Mana Drain
Deathclutch Manacles=Enthrall
Scent of Dread=Resist Debuffs
Halstor's Command=Charm
[Pet]
Energize Ally Rk. II=Pet Misc Buffs
Call Skeleton Crush Rk. II=Sum: Swarm
Raised Assassin=Sum: Undead
Sigil of the Preternatural Rk. II=Pet Haste
Vak`Ridel's Shade=Sum: Undead
Chilled Mending Rk. II=Heals
Reborn Assassin=Sum: Undead
Call Skeleton Host=Sum: Swarm
Empower Ally=Pet Misc Buffs
Zalifur's Shade=Sum: Undead
Sigil of the Sundered Rk. II=Pet Haste
Algid Mending=Heals
Sanction Ally=Pet Misc Buffs
Call Skeleton Throng=Sum: Swarm
Unearthed Assassin=Sum: Undead
Phantasmal Ward=Block
Cascading Boneshield=Block
[Damage Over Time]
Blistering Shadow Rk. II=Fire
Splirt Rk. II=Magic
Argendev's Venom Rk. II=Poison
Grip of Zargo=Disease
Pyre of Hazarak Rk. II=Fire
Prox's Swift Sickness Rk. II=Disease
Brimtav's Flashblaze Rk. II=Fire
Ivrikdal's Pallid Haze Rk. II=Poison
Doom Rk. II=Magic
Hral's Swift Deconstruction Rk. II=Magic
Naeya Venom=Poison
Ignite Potential=Mana Drain
Blazing Shadow=Fire
Grip of Zalikor=Disease
Termination Rk. II=Magic
Slaunk's Swift Venom=Poison
Necrotizing Wounds=Magic
Itkari's Swift Deconstruction=Magic
Dissolution=Corruption
Pyre of the Forsaken=Fire
Bora's Swift Sickness Rk. II=Disease
Osalur's Flashblaze Rk. II=Fire
Halstor's Pallid Haze=Poison
Ignite Thoughts=Mana Drain
Pyre of Marnek=Fire
Pernicious Wounds=Magic
Coruscating Shadow=Fire
Binaesa Venom=Poison
[Direct Damage]
Compel for Blood Rk. II=Poison
Scorch Bones Rk. II=Fire
Provocation for Blood=Poison
Dissolving Venin Rk. II=Poison
Coruscate Bones=Fire
Scintillate Bones=Fire
Impel for Blood=Poison
[HP Buffs]
Shield of Bronze Rk. II=Shielding
Shield of the Dauntless=Shielding
[Utility Beneficial]
Shadowside=Conversions
Quivering Veil of Fal`Kaa Rk. II=Invulnerability
Ghoulskin Rk. II=Rune
Bestow Decay=Conversions
Bestow Mortality Rk. II=Conversions
Forsakenside=Conversions
Zombieskin=Rune
Conscripted Sacrifice=Misc
Necrotic Cysts Rk. II=Combat Innates
[Auras]
Sphere of Withering Rk. II=Damage Over Time
Sphere of Dissolution=Damage Over Time
[Traps]
Bonefuse Fetish=Fear
Might be useful for character info macs when trying to solicit help for INIs or if you just want to copy/paste into other INI or macs. Again, this won't work until next compile update.
 

Attachments

  • spelltest.mac
    399 bytes · Views: 3
This sounds awesome, Pete. It will definitely help speed up configuring bots. Can't wait to try it out. :thumbup:

Sent from my SAMSUNG-SGH-I317 using Xparent Skyblue Tapatalk 2