Title: TinTin++ missing skills/spell tracking code Post by: khiren on November 17, 2010, 01:49:31 pm Ako koristis TinTin++ mozes da customizujes ovo parche koda ispod za svog lika.
Primer je za draconian necrona. Code: #ACTION {^The following skills and spells are affecting you:} { #delay {0.5} {showMissingSpells;resetAffects;}} Title: Re: TinTin++ missing skills/spell tracking code Post by: khiren on September 20, 2014, 08:50:47 am jos jedan nacin da se prate spellovi/skillovi koji fale.
[log] #ACTION {^The following skills and spells are affecting you:} { #delay {0.5} {showMissingSpells;resetAffects;} } {5} #ALIAS {resetAffects} { #var {aff} { {Armor} {-1} {Bless}{-1} {Detect evil}{-1} {Protection}{-1} {Detect invis} {-1} {Frenzy}{-1} {Lightshield}{-1} {Protectorate}{-1} {Holy prayer}{-1} {Divine health}{-1} {Shield of faith}{-1} {Templars sight}{-1} {Divine health}{-1} {Aura of courage}{-1} {Spiritual healing}{-1} } } {5} #ALIAS {showMissingSpells} { #foreach {$aff[]} {tmp} { #if {$aff[$tmp] == -1} { #line {substitute} {variables} { #delay {0.2} {#showme Lacking: $tmp} } } } } #foreach {$aff[]} {tmp} { #line {substitute} {variables} { #action {'$tmp' %1 is active for %2 hours and %3 minutes} { #math aff[$tmp] %2 * 60 + %3 } } } #ACTION {'Armor' %0 is active for %1 hours and %2 minutes} {#var aff[Armor] %2} {1} #ACTION {'Bless' %0 is active for %1 hours and %2 minutes} {#var aff[Bless] %2} {1} #ACTION {'Detect evil' %0 is active for %1 hours and %2 minutes} {#var aff[Detect evil] %2} {1} #ACTION {'Protection' %0 is active for %1 hours and %2 minutes} {#var aff[Protection] %2} {1} #ACTION {'Detect invis' %0 is active for %1 hours and %2 minutes} {#var aff[Detect invis] %2} {1} #ACTION {'Frenzy' %0 is active for %1 hours and %2 minutes} {#var aff[Frenzy] %2} {1} #ACTION {'Lightshield' %0 is active for %1 hours and %2 minutes} {#var aff[Lightshield] %2} {1} #ACTION {'Protectorate' %0 is active for %1 hours and %2 minutes} {#var aff[Protectorate] %2} {1} #ACTION {'Holy prayer' %0 is active for %1 hours and %2 minutes} {#var aff[Holy prayer] %2} {1} #ACTION {'Divine health' %0 is active for %1 hours and %2 minutes} {#var aff[Divine health] %2} {1} #ACTION {'Shield of faith' %0 is active for %1 hours and %2 minutes} {#var aff[Shield of faith] %2} {1} #ACTION {'Templars sight' %0 is active for %1 hours and %2 minutes} {#var aff[Templars sight] %2} {1} #ACTION {'Divine health' %0 is active for %1 hours and %2 minutes} {#var aff[Divine health] %2} {1} #ACTION {'Aura of courage' %0 is active for %1 hours and %2 minutes} {#var aff[Aura of courage] %2} {1} #ACTION {'Spiritual healing' %0 is active for %1 hours and %2 minutes} {#var aff[Spiritual healing] %2} {1} #HIGHLIGHT {Lacking:} {bold} {5} [/log] |