高级玩家

- 贡献度
- 15
- 金元
- 3033
- 积分
- 303
- 精华
- 0
- 注册时间
- 2008-5-14
|
本帖最后由 lkhjasd 于 2012-11-11 18:05 编辑
新版本出了很多套装属性和神器,打到一个套装神器是总是想知道套装属性是什么样,可作者就是那么贱,不肯显示出来。下面是查询属性的方法。
1.先打开game\modules\tome\data\general\objects\world-artifacts.lua(用UltrarEdit类似软件最好)
比如我打到了一个"Hat of Arcane Understanding"
说明说这是一个套装的一个套件
2.在UltrarEdit窗口按ctrl+f,输入Hat of Arcane Understanding,点下一个 或上一个
找到了这个装备的代码
newEntity{ base = "BASE_WIZARD_HAT", define_as = "SET_HAT_CHANNELERS",
power_source = {arcane=true},
unique = true,
name = "Hat of Arcane Understanding",
unided_name = "silver-runed hat",
desc = [[A traditional pointed wizard's hat, made of fine purple elven-silk and decorated with bright silver runes. You sense it has been passed from ancient times, and has been born on the heads of great mages.
略略略略略略
max_power = 40, power_regen = 1,
set_list = { {"define_as", "SET_STAFF_CHANNELERS"} },
on_set_complete = function(self, who)
local Talents = require "engine.interface.ActorTalents"
self.use_talent = { id = Talents.T_METAFLOW, level = 3, power = 40 }
game.player:learnLore("channelers-set")
end,
on_set_broken = function(self, who)
self.use_talent = nil
game.logPlayer(who, "#STEEL_BLUE#The arcane energies surrounding you dissapate.")
end,
}
其中红字意思是套装名为CHANNELERS,有两个配件一个是这个帽子另一个是一个法杖STAFF
3.再次搜索SET_STAFF_CHANNELERS,找到另一段代码,发现就在帽子代码的正上方,再上面还有一个标题
"-- Channelers set
-- Note that this staff can not be channeled. All of it's flavor is arcane, lets leave it arcane"
这是作者的注释 下面是法杖的代码
”newEntity{ base = "BASE_STAFF", define_as = "SET_STAFF_CHANNELERS",
power_source = {arcane=true},
unique = true,
name = "Staff of Arcane Supremacy",
unided_name = "silver-runed staff",
flavor_name = "magestaff",
略略略略略略略略略略略“
法杖名字是"Staff of Arcane Supremacy"
4.套装属性为
a.法杖:
on_set_complete = function(self, who)
self:specialSetAdd({"wielder","max_mana"}, 100)
game.logSeen(who, "#STEEL_BLUE#You feel a swell of arcane energy.")
意思是最大魔法值+100
b.帽子
on_set_complete = function(self, who)
local Talents = require "engine.interface.ActorTalents"
self.use_talent = { id = Talents.T_METAFLOW, level = 3, power = 40 }
game.player:learnLore("channelers-set")
end,
意思是,能使用metaflow技能,技能等级为3,
metaflow是法师meta系终极技能
完毕了。
我还发现一件很有意思的事
我打到了一件Vestments of the Conclave,结果穿了一会发现属性增强了,
我在文档里搜到这个装备
newEntity{ base = "BASE_CLOTH_ARMOR",
power_source = {arcane=true},
unique = true,
name = "Vestments of the Conclave", color = colors.DARK_GREY, image = "object/artifact/robe_vestments_of_the_conclave.png",
unided_name = "tattered robe",
desc = [[An ancient set of robes that has survived from the Age of Allure. Primal magic forces inhabit it.
It was made by Humans for Humans; only they can harness the true power of the robes.]],
level_range = {12, 22},
rarity = 220,
cost = 150,
material_level = 2,
wielder = {
inc_damage = {[DamageType.ARCANE]=10},
inc_stats = { [Stats.STAT_MAG] = 6 },
combat_spellcrit = 15,
},
on_wear = function(self, who)
if who.descriptor and who.descriptor.race == "Human" then
local Stats = require "engine.interface.ActorStats"
local DamageType = require "engine.DamageType"
self:specialWearAdd({"wielder","inc_stats"}, { [Stats.STAT_MAG] = 3, [Stats.STAT_CUN] = 9, })
self:specialWearAdd({"wielder","inc_damage"}, {[DamageType.ARCANE]=7})
self:specialWearAdd({"wielder","combat_spellcrit"}, 2)
game.logPlayer(who, "#LIGHT_BLUE#You feel as surge of power as you wear the vestments of the old Human Conclave!")
end
end,
额外属性是+9cun +7%奥术伤害 +2%法术暴击
有很多装备可能没有说明 但不同职业 不同种族穿了后属性可能会有不同 就是作者太贱了 这些有趣的设定不肯在游戏里显示出来 很可惜
|
评分
-
1
查看全部评分
-
|