--其他翻译表,技能名麻烦楼主自己去改,顺便问一下什么叫改成任何人造成伤害
![](http://tb2.bdstatic.com/tb/editor/images/face/i_f15.png?t=20140803)
test7 = sgs.CreateTriggerSkill{
name = "test7",
events = {sgs.Damaged},
on_trigger = function(self,event,player,data)
local damage = data:toDamage()
local room = player:getRoom()
local guanyus = room:findPlayersBySkillName(self:objectName())
for _, guanyu in sgs.qlist(guanyus) do
if guanyu:canSlash(player) and damage.card:isKindOf("Slash")
and damage.to:isAlive() and guanyu:getPhase() == sgs.Player_NotActive then
room:askForUseSlashTo(guanyu,player,"@askforslashto:"..":"..player:objectName())
end
end
end,
can_trigger = function(self,target)
return target ~= nil
end
}
sgs.LoadTranslationTable{
["@askforslashto"] = "你可以对%dest出一张杀",
}
test:addSkill(test7)