晚9:0011:00:免疫系统(淋巴)排素时间,此段时间应安静或听音乐

晚11:00
凌晨1:00:肝的排素,需在熟睡中进行

凌晨1:00_3:00:胆的排素,亦同

凌晨3:00_5:00:肺的排素,不可用于止咳药

凌晨5:00_7:00:大肠的排素,应在厕所排便

凌晨7:00_9:00,小肠大量吸收营养时间,应吃早餐

半夜到凌晨4点为脊椎造血时间,必须熟睡,不宜熬夜



现在已经有了一个组队的相互操作角本,不过据说只是在美F和欧F可以用,因为需要打魔法的名称,这个CNWOW里面是不同的,也许汉化过之后就可以了,HUHU,我会尽快练个魔法辅助职业测试一下看.

下面是它的代码 下载可以到http://www.curse-gaming.com/mod.php?addid=463

回头我们慢慢分析,HUHU

WhisperCast_Version = 2.1

— Recode by Sarris of Blackhand, originally by Valconeye
— Original BestBuff by Gello


BINDING_HEADER_WHISPERCAST="WhisperCast";
BINDING_NAME_WHISPERCAST="Cast";
BINDING_NAME_WHISPERCAST_SHOW="Show/Hide Gui";


local CHAT_RED = "|cFFFF0000"
local CHAT_GREEN = "|cFF00FF00"
local CHAT_END = "|r"


— main spell queue
WhisperCast = { min=1, next=1, n=0 };


— saved variable
WhisperCast_Profile = {}


— loaded with current players spells
WhisperCast_Spells = nil;


— unit names of people in my current group/raid
WhisperCast_Group = {}


local WhisperCast_defaultProfile = {
[‘profileversion’] = 1,
[‘enable’] = 1,
[‘minimize’] = 0,
[‘failures’] = 4, — failures before a spell is dequeued
[‘failuregracetime’] = 1, — second between counted failures
[‘grouponly’] = 1,
[‘restrictcombat’] = 1,
[‘mainalpha’] = 1,
[‘backalpha’] = 0.6,
[‘match’] = "start",
};


WhisperCast_SpellLibrary = {
— Priest Buffs
PRIEST = {
["Power Word: Fortitude"] = {
trigger = { "fort", "fortitude", "stam", "stamina" },
level = 1,
rank = { 1, 12, 24, 36, 48, 60 } },
["Prayer of Fortitude"] = {
trigger = { "group fort", "group fortitude", "group stam", "group stamina" },
level = 48,
rank = { 48, 60 } },
["Shadow Protection"] = {
trigger = { "shadow" },
level = 30,
rank = { 30, 42, 56 } },
["Divine Spirit"] = {
trigger = { "spirit" },
level = 40,
rank = { 40, 42, 54 } },
["Power Word: Shield"] = {
trigger = { "shield" },
level = 6,
rank = { 6, 12, 18, 24, 30, 36, 42, 48, 54, 60 },
combat = true },
["Dispel Magic"] = {
trigger = { "dispel" },
level = 18,
rank = { 18 —[[only use rank 1, 36]] },
combat = true },
["Abolish Disease"] = {
trigger = { "disease" },
level = 24,
combat = true },
["Fear Ward"] = {
trigger = { "fear", "ward" },
level = 20,
combat = true },
},
— Mage Buff
MAGE = {
["Arcane Intellect"] = {
trigger = { "ai", "int" },
level = 1,
rank = { 1, 14, 28, 42, 56 } },
["Arcane Brilliance"] = {
trigger = { "group ai", "group int", "brilliance" },
level = 46,
rank = { 46 } },
["Dampen Magic"] = {
trigger = { "dampen" },
level = 12,
rank = { 12, 24, 36, 48, 60 } },
["Amplify Magic"] = {
trigger = { "amplify" },
level = 18,
rank = { 18, 30, 42, 54 } },
["Remove Lesser Curse"] = {
trigger = { "curse" },
level = 16,
combat = true },
},
— Druid buffs
DRUID = {
["Mark of the Wild"] = {
trigger = { "mark", "motw" },
level = 1,
rank = { 1, 10, 20, 30, 40, 50, 60 } },
["Gift of the Wild"] = {
trigger = { "gift", "group mark", "gotw" },
level = 50,
rank = { 50, 60 } },
["Thorns"] = {
trigger = { "thorns" },
level = 6,
rank = { 6, 14, 24, 34, 44, 54 } },
["Remove Curse"] = {
trigger = { "curse" },
level = 22,
combat = true },
["Abolish Poison"] = {
trigger = { "disease" },
level = 26,
combat = true },
},
— Paladin buffs
PALADIN = {
["Blessing of Might"] = {
trigger = { "might" },
level = 4,
rank = { 4, 12, 22, 32, 42, 52 } },
["Blessing of Wisdom"] = {
trigger = { "wisdom" },
level = 14,
rank = { 14, 24, 34, 44, 54 },
combat = true },
["Blessing of Freedom"] = {
trigger = { "freedom" },
level = 18 },
["Blessing of Light"] = {
trigger = { "light" },
level = 40,
rank = { 40, 50, 60 } },
["Blessing of Sacrifice"] = {
trigger = { "sacrifice" },
level = 46,
rank = { 46, 54 } },
["Blessing of Kings"] = {
trigger = { "kings" },
level = 40 },
["Blessing of Salvation"] = {
trigger = { "salvation" },
level = 26 },
["Blessing of Sanctuary"] = {
trigger = { "sanctuary" },
level = 10,
rank = { 10, 30, 40, 50, 60 } },
["Cleanse"] = {
trigger = { "cleanse", "dispel" },
level = 32,
combat = true },
["Purify"] = {
trigger = { "purify", "poison", "disease" },
level = 18,
combat = true },
},
SHAMAN = {
["Cure Poison"] = {
trigger = { "poison" },
level = { 26 },
combat = true },
["Cure Disease"] = {
trigger = { "disease" },
level = { 40 },
combat = true },
},
};


— chat frame where queue messages go
local WhisperCast_messages = DEFAULT_CHAT_FRAME;


— keep track of if we are in combat
local WhisperCast_playerInCombat = false


local function WhisperCast_getQueueTextColor(cast)
if ( WhisperCast_Profile.restrictcombat == 1 and
WhisperCast_playerInCombat and
not WhisperCast_Spells[cast["spell"]].combat ) then


return "|cFF909090","|r", false;
else
if ( cast["fail"] ) then
return "|cFF00FF00","|r|cFFFF0000 (fail "..cast["fail"]..")|r", true;
else
return "|cFF00FF00","|r",true;
end
end
end




未完



目前已经有部分UI提供了组队简单托管的功能,我的想法是,如果连宠都能管,具体动作也可以管,增益魔法也能放那这个UI无敌了,HUHU

可以在家开几个PC上WOW,然后自己组队打,HUHU充分发挥团队SOLO

function hello_world_initialize()
— add our very first chat command!
SlashCmdList["HELLOW"] = hello_world_command;
SLASH_HELLOW1 = "/hellow";
SLASH_HELLOW2 = "/hw";
end

function hello_world_command(msg)
— this function handles our chat command
message(msg);
end



Lua是一种为支持有数据描述机制的一般过程式编程语言而设计的扩展编程语言。它同样可以对面向对象语言、函数式程序设计(Functional Programming,如Lisp)以及数据驱动编程(data-driven programming)提供很好的支持。它的目标是被用作一种强大的、轻型的配置语言。Lua目前已经被实现为一个扩展库,是用clean C (ANSI C/C++的一个通用子集)编写的。

作为一个扩展语言,Lua没有"Main"函数的概念:它仅仅是嵌入一个宿主程序进行工作,可以称之为 嵌入式编程 或者简单的说是 宿主编程。这个宿主程序可以调用函数来执行Lua的代码片断,可以设置和读取Lua的变量,可以注册C函数让Lua代码调用。Lua的能力可以扩展到更大范围,在不同的领域内,这样就在同样的语法框架下创建了你自定义的编程语言。

Lua的发行版包括一个独立的嵌入式程序,lua,他使用Lua的扩展库来提供一个完全的Lua解释器。

Lua是自由软件,通常不提供任何担保,如它的版权说明中叙述的那样。 手册中描述的实现在Lua的官方网站可以找到,www.lua.org。

如果需要知道Lua设计背后的一些决定和讨论,可以参考以下论文,它们都可以在Lua的网站上找到。

* R. Ierusalimschy, L. H. de Figueiredo, and W. Celes. Lua—-an extensible extension language. Software: Practice & Experience 26 #6 (1996) 635-652.
  • L. H. de Figueiredo, R. Ierusalimschy, and W. Celes. The design and implementation of a language for extending applications. Proceedings of XXI Brazilian Seminar on Software and Hardware (1994) 273-283.
  • L. H. de Figueiredo, R. Ierusalimschy, and W. Celes. Lua: an extensible embedded language. Dr. Dobb’s Journal 21 #12 (Dec 1996) 26-33.
  • R. Ierusalimschy, L. H. de Figueiredo, and W. Celes. The evolution of an extension language: a history of Lua, Proceedings of V Brazilian Symposium on Programming Languages (2001) B-14-B-28.

    Lua在葡萄牙语中的意思是“月亮”,发音是 LOO-ah。