File Details
BETA1
- B
- Jul 2, 2010
- 4.79 KB
- 1.0K
- 2.1.7.2095
File Name
RFL4M-BETA1.zip
Supported Versions
- 2.1.7.2095
------------------------------------------------------------------------
r7 | tschuss | 2010-07-02 19:14:33 +0000 (Fri, 02 Jul 2010) | 1 line
Changed paths:
A /tags/BETA1 (from /trunk:6)
Tagging as BETA1
BETA 1 contains two functions:
RFL4M.getAllBuff (tgt)
tgt: one of the right values for UnitID = {"target","player","focus","party#","raid#", "mouseover", ...}
return: 2 lists of values, one with all the buffs on the Unit separated bt & and the other with all the debuffs with same separator.
use: local b,d = RFL4M.getAllBuff("target");
RFL4M.hasBuff (tgt, buffname)
tgt: one of the right values for UnitID = {"target","player","focus","party#","raid#", "mouseover", ...}
buffname: part or full Buff or Debuff name you want to know if it is on the Unit.
return: 1 if the name in found on bufs, 2 if it is found on debuffs and 0 if there is not.
use: if RFL4M.hasBuff("target","Regen")=0 then CastSpellByName("Regeneration")
BETA 1 contiene dos funciones:
RFL4M.getAllBuff (tgt)
tgt: uno de los valores validos para UnitID = {"target","player","focus","party#","raid#", "mouseover", ...}
return: 2 listas de valores, una con los buffos que afectan a la Unidad separados por '&' y la otra con los debuffs tambien separador por '&'
use: local b,d = RFL4M.getAllBuff("target"); DEFAULT_CHAT_FRAME:AddMessage("BUFF:"..b.."\nDEBUFF:"..d)
RFL4M.hasBuff (tgt, buffname)
tgt: uno de los valores validos para UnitID = {"target","player","focus","party#","raid#", "mouseover", ...}
buffname: parte o todo el nombre del buff o debuff que quieres saber si está afectando a la Unidad
return: 1 si lo encuentra entre los buffos, 2 si lo encuentra entre los debuff y 0 si no lo encuentra.
use: if RFL4M.hasBuff("target","Regen")=0 then CastSpellByName("Regeneración")
------------------------------------------------------------------------
r6 | tschuss | 2010-07-02 18:49:44 +0000 (Fri, 02 Jul 2010) | 1 line
Changed paths:
M /trunk/RFL4M
A /trunk/RFL4M/RFL4M.lua
A /trunk/RFL4M/RFL4M.toc
A /trunk/RFL4M/RFL4M.xml
First two functions working: getAllBuff(unitID) & hasBuff(unitID, buffname)
------------------------------------------------------------------------
r5 | tschuss | 2010-07-02 18:46:16 +0000 (Fri, 02 Jul 2010) | 1 line
Changed paths:
A /trunk/RFL4M
Initial import.
------------------------------------------------------------------------
r4 | tschuss | 2010-07-02 11:33:39 +0000 (Fri, 02 Jul 2010) | 1 line
Changed paths:
M /trunk/zzzz_RFL4M/RFLM.lua
nuevas funciones para ver los buffos y para ver si un buffo en concreto está activo
------------------------------------------------------------------------
r3 | tschuss | 2010-07-01 12:44:25 +0000 (Thu, 01 Jul 2010) | 1 line
Changed paths:
M /trunk/zzzz_RFL4M
A /trunk/zzzz_RFL4M/RFLM.lua
A /trunk/zzzz_RFL4M/RFLM.toc
A /trunk/zzzz_RFL4M/RFLM.xml
Version inicial
------------------------------------------------------------------------
r2 | tschuss | 2010-07-01 12:39:58 +0000 (Thu, 01 Jul 2010) | 1 line
Changed paths:
A /trunk/zzzz_RFL4M
Initial import.
------------------------------------------------------------------------
r1 | root | 2010-07-01 12:29:14 +0000 (Thu, 01 Jul 2010) | 1 line
Changed paths:
A /branches
A /tags
A /trunk
"rom-function-library-4-macros/mainline: Initial Import"
------------------------------------------------------------------------