游戏达人
  
- 贡献度
- 175
- 金元
- 26137
- 积分
- 3314
- 精华
- 0
- 注册时间
- 2009-11-3
|
注意:由于过于BT,会令游戏失去乐趣,大家自己看着办吧。
用记事本打开Puzzle Quest 2AssetsScriptsSpellsHandOfGod.lua
这是圣骑士的上帝之手技能,找到这段
local HANDOFGOD_GEM_COUNT = 15
function HandOfGod:Apply(params)
return function ()
local candidates = {"Green", "Blue", "Yellow", "Black", "Skull", "Red", -- regular gems
"Wildcard2", "Wildcard3", "Wildcard4", "Wildcard5", "Wildcard6", "Wildcard7" -- wildcards
}
local gems_to_replace = Spell:SelectGemsToReplace(params, candidates, " ower", HANDOFGOD_GEM_COUNT)
Spell ause(Spell.SPELL_INTRO_PAUSE)
Spell:ReplaceSelectedGems(params, " ower", gems_to_replace, Spell.SPELL_TRANSFORM_PAUSE)
Spell ause(Spell.SPELL_OUTRO_PAUSE)
end
end
----------------------------上面是原版的,----------------下面红色是改过的地方,大家对照着改吧。------------------
local HANDOFGOD_GEM_COUNT = 64
function HandOfGod:Apply(params)
return function ()
local candidates = {"Green", "Blue", "Yellow", "Black", " ower", "Skull", "Red", -- regular gems
"Wildcard2", "Wildcard3", "Wildcard4", "Wildcard5", "Wildcard6", "Wildcard7" -- wildcards
}
local gems_to_replace = Spell:SelectGemsToReplace(params, candidates, "Skull5", HANDOFGOD_GEM_COUNT)
Spell ause(Spell.SPELL_INTRO_PAUSE)
Spell:ReplaceSelectedGems(params, "Skull5", gems_to_replace, Spell.SPELL_TRANSFORM_PAUSE)
Spell ause(Spell.SPELL_OUTRO_PAUSE)
end
end |
|