Moderator: MacroQuest Developers
Code: Select all
PCHAR szLights[] = {
"NONE", // 0 - No light
"CDL", // 1 - Candle
"TR", // 2 - Torch
"TGS", // 3 - Tiny Glowing Skull
"SL", // 4 - Small Lantern
"SoM", // 5 - Stein of Moggok
"LL", // 6 - Large Lantern
"FL", // 7 - Flameless lantern, Halo of Light
"GOS", // 8 - Globe of stars
"LG", // 9 - Light Globe
"LS", // 10 - Lightstone, Burnt-out lightstone, wispstone
"GLS", // 11 - Greater lightstone
"FBE", // 12 - Fire Beatle Eye, Firefly Globe
"CL" // 13 - Coldlight
};
Code: Select all
|wisp gonna die macro, have it targetted
sub main
/if $item(primary,magic)!=TRUE /if $char(class)!=wizard /if $char(class)!=magician /echo You're gonna die
/if n $char(level)<=$target(level) /echo You're gonna die
/return