Search found 5 matches

by Zepharian
Sat Sep 10, 2016 1:27 am
Forum: MUD Client Help
Topic: Mudlet Script v011b (5/19/17)
Replies: 9
Views: 41150

Re: Mudlet Script v010rc1 (6/26/16)

Cleric spells: Note divine power and divine purify are both dp. Kept power. Bless and blind are both bl. Kept Blind Detect and Dispel Evil are both de. Kept dispel. powerAliases["Cle"] = { resu="resurrect" , pshift="plane_shift" , ha="healing_aura" , dp="...
by Zepharian
Fri Sep 09, 2016 9:40 am
Forum: MUD Client Help
Topic: Mudlet Script v011b (5/19/17)
Replies: 9
Views: 41150

Re: Mudlet Script v010rc1 (6/26/16)

Here is an updated trigger to decrement spellcounts. This should manage if there is a target or not, as well as if the spell is cast with an alias or old school c[ast] 'xxx' yy. if powerAliases[whoclass()] then local cursp = spell:getCurrent() local decspell = "" -- If there is no current ...
by Zepharian
Fri Sep 09, 2016 2:22 am
Forum: MUD Client Help
Topic: Mudlet Script v011b (5/19/17)
Replies: 9
Views: 41150

Re: Mudlet Script v010rc1 (6/26/16)

A handy function to tell OSType if ever needed for anything: local function getOS() local raw_os_name, raw_arch_name = '', '' -- LuaJIT shortcut if jit and jit.os and jit.arch then raw_os_name = jit.os raw_arch_name = jit.arch else -- is popen supported? local popen_status, popen_result = pcall(io.p...
by Zepharian
Thu Sep 08, 2016 7:32 am
Forum: MUD Client Help
Topic: Mudlet Script v011b (5/19/17)
Replies: 9
Views: 41150

Re: Mudlet Script v010rc1 (6/26/16)

A table of powers_alias = spellname and a trigger to decrement spellCount on cast. initMageSpell(whoclass()) should probably be called from initFullData() ... or someplace better if there is one. TRIGGER: 1. You start (chanting).* 2. You don't have that spell (memorized).* if whoclass() == "Ele...
by Zepharian
Sun Aug 28, 2016 3:50 am
Forum: MUD Client Help
Topic: Mudlet Script v011b (5/19/17)
Replies: 9
Views: 41150

Re: Mudlet Script v010rc1 (6/26/16)

Some small updates - I'll Add more in a few days: Mounted Addition: Trigger: Remount in Combat Trigger String: You lose your balance and are dismounted. if checkMask("summonmount") then send("mount") end Fix Autoroller - Now it only checks the first column for mighty, heroic, per...

Go to advanced search