【继续伸手党】求:防止你受到红色牌的伤害 的 lua~~~谢谢大家
太阳神三国杀lua吧
全部回复
仅看楼主
level 1
rt
2013年02月11日 07点02分 1
level 10
参考无言和帷幕[打酱油]
2013年02月11日 08点02分 2
[Love]这种技能目测有人做过了,所以直接伸手嘛
2013年02月11日 08点02分
回复 黑暗画家狗 :啊0.0
2013年02月11日 08点02分
level 12
龙凤后传 红殇
2013年02月11日 09点02分 4
level 12
LuaWuyan = sgs.CreateTriggerSkill{
name = "LuaWuyan",
frequency = sgs.Skill_Compulsory,
events = {sgs.DamageInflicted},
on_trigger = function(self, event, player, data)
local damage = data:toDamage()
local card = damage.card
if card then
if card:isRed() then
if player:hasSkill(self:objectName()) then
return true
end
end
end
end,
从安河的无言改的~~
lz
可以看看他的教程~~在精品区里~
   @.#来自卡西欧FX-500ES 
2013年02月11日 11点02分 5
谢谢~~
2013年02月11日 11点02分
这个lua无效啊亲!
2013年02月11日 12点02分
回复 黑暗画家狗 :card:isRed()改为card:getSuit() == sgs.Card_Red
2013年02月11日 12点02分
回复 jisenji :......不用改....改了之后就不对...
2013年02月11日 12点02分
level 12
hongshang= sgs.CreateTriggerSkill{
name = "hongshang",
frequency = sgs.Skill_Compulsory,
events = sgs.Predamaged,
on_trigger = function(self, event, player, data)
local damage = data:toDamage()
local card = damage.card
if card then
if card:isRed() then
if player:hasSkill(self:objectName()) then
return true
end
end
end
end,
---雪霁
@.#来自步步高打火机客户端,哪里不会点哪里!
2013年02月11日 12点02分 6
谢谢~
2013年02月11日 13点02分
回复 黑暗画家狗 :还是不行啊,求纠错~
2013年02月11日 13点02分
level 1
2013年02月11日 13点02分 7
到底哪个版本???[揉脸]
2013年02月11日 13点02分
回复 拆迁队总司令 :楼下= =
2013年02月11日 13点02分
level 1
2013年02月11日 13点02分 8
这是alpha版...5l的就行
2013年02月12日 09点02分
@brianvong 五楼的使用无效啊亲,火攻依然可以受伤
2013年02月15日 05点02分
1