Did a small change to the cor spellcast(rolls area i never remember the lucky numbers) so now they are in as "addtochat"
Code:
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
<config
Debug="false"
ShowGearSwaps="False"
/>
<sets>
<group default="yes" name="Normal">
<set name="Ranged">
<ammo>Steel Bullet</ammo>
<head>Nvrch. Tricorne +1</head>
<neck>Peacock Charm</neck>
<lear>Volley Earring</lear>
<rear>Clearview earring</rear>
<body>Navarch's Frac +1</body>
<hands>Crimson Fng. Gnt.</hands>
<back>Navarch's mantle</back>
<waist>Aquiline belt</waist>
<legs>Denali Kecks</legs>
<feet>Skadi's jambeaux</feet>
<lring>Behemoth Ring</lring>
<rring>Rajas ring</rring>
</set>
<set name="Idle" BaseSet="Ranged">
<feet>Skadi's jambeaux</feet>
</set>
<set name="PDT" BaseSet="Idle">
</set>
<set name="Slugshot" BaseSet="Ranged">
<head>Anwig Salade</head>
<body>Loki's Kaftan</body>
<rring>Rajas Ring</rring>
</set>
<set name="Detonator" BaseSet="Slugshot">
</set>
<set name="Wildfire">
<ammo>Steel Bullet</ammo>
<head>Nvrch. Tricorne +1</head>
<body>Loki's Kaftan</body>
<neck>Uggalepih Pendant</neck>
<lear>Hecate's Earring</lear>
<rear>Moldavite Earring</rear>
<hands>Crimson Fng. Gnt.</hands>
<lring>Solemn ring</lring>
<rring>Breeze ring</rring>
<feet>Nvrch. Bottes +1</feet>
</set>
<set name="WFMoon" BaseSet="Wildfire">
<neck>Artemis' Medal</neck>
</set>
<set name="WFObi" BaseSet="Wildfire">
</set>
<set name="WFMoonObi" BaseSet="WFMoon">
</set>
<set name="QuickDraw" BaseSet="Wildfire">
<ammo>Oberon's Bullet</ammo>
<head>Nvrch. Tricorne +1</head>
<body>Loki's Kaftan</body>
<neck>Arctier's Torque</neck>
<lear>Hecate's Earring</lear>
<rear>Moldavite Earring</rear>
<lring>Solemn ring</lring>
<rring>Breeze ring</rring>
<feet>Nvrch. Bottes +1</feet>
</set>
<set name="QDMacc" BaseSet="QuickDraw">
</set>
<set name="QDMoon" BaseSet="QuickDraw">
<neck>Artemis' Medal</neck>
</set>
<set name="QDObi" BaseSet="QuickDraw">
</set>
<set name="QDMoonObi" BaseSet="QDMoon">
</set>
<set name="Melee">
</set>
<set name="MDT" BaseSet="Idle">
</set>
</group>
</sets>
<rules>
<if status="engaged">
<equip when="engaged" set="Ranged" />
</if>
<if status="idle">
<equip when="idle" set="Idle" />
</if>
<if spell="Eagle Eye Shot">
<cancelspell />
<if status="engaged">
<equip set="Ranged" />
</if>
<elseif status="Idle|Resting">
<equip set="Idle" />
</elseif>
</if>
<if spell="Ranged">
<equip when="precast" set="Ranged" />
</if>
<if spell="Ice Shot|Wind Shot|Earth Shot|Thunder Shot|Water Shot">
<castdelay delay="0.5" />
<if Moon="Waxing Gibbous|Waning Gibbous|Full Moon">
<equip when="precast" set="QDMoon" />
</if>
<else>
<equip when="precast" set="Quickdraw" />
</else>
</if>
<if spell="Fire Shot">
<castdelay delay="0.5" />
<if Mode="OR" Day="Firesday" WeatherElement="Fire">
<if Moon="Waxing Gibbous|Waning Gibbous|Full Moon">
<equip when="precast" set="QDMoonObi" />
</if>
<else>
<equip when="precast" set="QDObi" />
</else>
</if>
<else>
<if Moon="Waxing Gibbous|Waning Gibbous|Full Moon">
<equip when="precast" set="QDMoon" />
</if>
<else>
<equip when="precast" set="Quickdraw" />
</else>
</else>
</if>
<if spell="Light Shot|Dark Shot">
<equip when="precast" set="QDMacc" />
</if>
<!--if commandprefix="/range|/weaponskill" EquipAmmo="Oberon's Bullet">
<cancelspell />
<return />
</if-->
<if spell="Random Deal">
<equip when="precast">
<body>Commodore Frac</body>
</equip>
</if>
<if spell="*Roll">
<equip when="precast">
<head>Nvrch. Tricorne +1</head>
<lring>Luzaf's Ring</lring>
<hands>Nvrch. Gants +1</hands>
<feet>Nvrch. Bottes +1</feet>
<legs>Nvrch. Culottes +1</legs>
<body>Navarch's Frac +1</body>
</equip>
<if Spell="Magus*|Choral*|Samurai*|Scholar*">
<action type="addtochat">%Spell Lucky Number: 2 Unlucky Number: 6</action>
</if>
<if Spell="Healer*|Monk*|Drachen*|Gallant*|Dancer*">
<action type="addtochat">%Spell Lucky Number: 3 Unlucky Number: 7</action>
</if>
<if Spell="Ninja*|Hunter*|Puppet*|Beast*|Warlock*|Chaos*">
<action type="addtochat">%Spell Lucky Number: 4 Unlucky Number: 8</action>
</if>
<if Spell="Corsair*|Evoker*|Rogue*|Fighter*|Wizard*">
<action type="addtochat">%Spell Lucky Number: 5 Unlucky Number: 9</action>
</if>
<if spell ="Miser*">
<action type="addtochat">%Spell Lucky Number: 5 Unlucky Number: 7</action>
</if>
<if Spell="Courser*">
<action type="addtochat">%Spell Lucky Number: 3 Unlucky Number: 9</action>
</if>
<if Spell="Tactician*">
<action type="addtochat">%Spell Lucky Number: 5 Unlucky Number: 8</action>
</if>
<if Spell="Blitzer*">
<action type="addtochat">%Spell Lucky Number: 4 Unlucky Number: 9</action>
</if>
<if Spell="Allies*">
<action type="addtochat">%Spell Lucky Number: 3 Unlucky Number: 10</action>
</if>
<if Spell="Caster*">
<action type="addtochat">%Spell Lucky Number: 2 Unlucky Number: 7</action>
</if>
<if Spell="Bolter*">
<action type="addtochat">%Spell Lucky Number: 3 Unlucky Number: 9</action>
</if>
</if>
<if spell="Double-Up">
<equip when="precast">
<lring>Luzaf's Ring</lring>
</equip>
</if>
<if spell="Utsusemi*">
<equip when="precast" set="Melee" />
</if>
<if spell="Triple Shot">
<equip when="precast">
<body>Nvrch. Frac +2</body>
</equip>
</if>
<if spell="Slug Shot">
<equip when="precast" set="Detonator" />
<equip when="aftercast">
<ammo>Steel Bullet</ammo>
</equip>
</if>
<if spell="Detonator">
<equip when="precast" set="Detonator" />
<equip when="aftercast">
<ammo>Steel Bullet</ammo>
</equip>
</if>
<if spell="Wildfire">
<if Mode="OR" Day="Firesday" WeatherElement="Fire">
<if Moon="Waxing Gibbous|Waning Gibbous|Full Moon">
<equip when="precast" set="WFMoonObi" />
</if>
<else>
<equip when="precast" set="WFObi" />
</else>
</if>
<else>
<if Moon="Waxing Gibbous|Waning Gibbous|Full Moon">
<equip when="precast" set="WFMoon" />
</if>
<else>
<equip when="precast" set="Wildfire" />
</else>
</else>
<equip when="aftercast">
<ammo>Steel Bullet</ammo>
</equip>
</if>
<if spell="Leaden Salute">
<if Moon="Waxing Gibbous|Waning Gibbous|Full Moon">
<equip when="precast" set="WFMoon" />
</if>
<else>
<equip when="precast" set="Wildfire" />
</else>
<equip when="aftercast">
<ammo>Steel Bullet</ammo>
</equip>
</if>
</rules>
</spellcast>