求助,现在这个Lua有何问题?
太阳神三国杀lua吧
全部回复
仅看楼主
level 13
lzxqqqq 楼主
用于0224版
2013年03月09日 07点03分 1
level 13
lzxqqqq 楼主
出现的错误是,打开游戏只有后台进程
2013年03月09日 07点03分 2
level 10
视为技的objectName 要与触发技的相一致
2013年03月09日 07点03分 3
等于是再建立一个Expwuxiu = sgs.CreateViewAsSkill?
2013年03月09日 07点03分
回复 lzxqqqq :不是,是name=“ Expwuxiu ” 这个相一致
2013年03月09日 07点03分
回复 元嘉体 :我改过来了,还是一样的问题- -
2013年03月09日 07点03分
level 12
倒数第三行room和if写在一起了
   @.#来自卡西欧Fx-500ES~CaO+Si==锑星环境==CaSiO
2013年03月09日 08点03分 4
第五行[拍砖]
2013年03月09日 08点03分
这个没问题的。。
2013年03月09日 08点03分
回复 女王受·虫 :貌似打不开是因为和战功包冲突。。
2013年03月09日 08点03分
回复 女王受·虫 :[啊!]原来两行不用加什么东西就可以并在一起的啊
2013年03月09日 08点03分
level 7
最后那个触发技能没必要
也不需要触发视为技...
因为时机是出牌阶段
2013年03月09日 21点03分 5
level 7
ExpwuxiuCard = sgs.CreateSkillCard{
name = "ExpwuxiuCard",
target_fixed = true,
will_throw = false,
on_use = function(self,room,source,targets)
local players = room:getOtherPlayers(source)
room:setPlayerMark(source,"lala",1)
for _,player in sgs.qlist(players) do
player:throwAllEquips()
end
end,
} ExpwuxiuVS = sgs.CreateViewAsSkill{
name = "ExpwuxiuVS",
n = 0,
view_as = function(self, cards)
local card = ExpwuxiuCard:clone()
return card
end,
enabled_at_play = function(self, player_PLayer)
return player_PLayer:getMark("lala") == 0
end,
}
testLuna:addSkill(ExpwuxiuVS)
2013年03月09日 21点03分 6
谢谢您~
2013年03月10日 15点03分
1