Chinaunix首页 | 论坛 | 博客
  • 博客访问: 533665
  • 博文数量: 40
  • 博客积分: 6020
  • 博客等级: 准将
  • 技术积分: 1711
  • 用 户 组: 普通用户
  • 注册时间: 2005-09-20 18:49
文章分类

全部博文(40)

文章存档

2011年(10)

2010年(13)

2009年(12)

2008年(5)

分类:

2010-11-23 20:25:37

暗黑魔法前后缀内部参数代码全分析

暗黑魔法前后缀内部参数代码全分析。 作者:radiator

Notes 注意
min = minimum value 最小范围
max = maximum value 最大范围
1/0 = Boolean 布尔类型数值,即1或者0
#sec = number of seconds 每秒
#fpsdur = number of frames duration 每帧画面的持续时间
skillID = Skill ID number from Skills.txt 对应Skills.txt文件的技能id编号
tab# = Skill Tab ID number 技能表格编号
chance = chance to cast 几率计算
slvl = skill level 技能等级
#charges = number of charges 加成数
#sock = number of sockets 孔数
value = number increased per level 最大等级
#time = Time of Day effects are at their maximum 天气效果的最大持续时间
?? = This is still unknown if it works, or how it works. 不知道是什么及如何工作

* new in 1.10 (1 = yes) 1.10新加的 1 = 支持
** Can be used by monsters (1 = yes) 对怪物起作用 1 = 支持
ama=亚马逊
ass=刺客
bar=野蛮人
nec=死灵巫师
sor=元素法师
pal=圣骑士
dru=德鲁伊教徒
min=最小
max=最大
Description 描述
Code代码
Param1 Param2 Param3 参数*1.10 **Monster

Skills
加xx技能 (xx=角色类型)
+ to Amazon Skills —— ama Min Max
+ to Assassin Skills —— ass Min Max
+ to Barbarian Skills —— bar Min Max
+ to Druid Skills —— dru Min Max
+ to Necromancer Skills —— nec Min Max
+ to Paladin Skills —— pal Min Max
+ to Sorceress Skills —— sor Min Max
+ to All Skills 加全部技能 allskills Min Max
+ to Fire Skills 加火系技能 fireskill Min Max
+ to Single Skills 加单一技能 skill skillID技能编号 Min Max
+ to Single Skill Tabs 加单一技能(可以给定数量) skilltab #tab Min Max
Chance to cast X when attacking 功击的准确率 att-skill skillID chance slvl 1
Chance to cast X when hitting 打击的几率 hit-skill skillID chance slvl 1
Chance to cast X when getting 获得的几率 hit gethit-skill skillID chance slvl 1
Skill Charges 技能加成 charged skillID #charges slvl
Use an Aura when equipped 当装备某件dd时所采用的光环 aura skillID Min Max 1 1
Cast a skill when a monster is killed 当某个怪物被杀时释放谋技能及机率 kill-skill skillname %chance Level 1
Cast a skill when a player is killed 当某个玩家被杀时释放谋技能及机率 death-skill skillname %chance Level 1 1
Cast a skill when a player level-up 当某个玩家升级时释放谋技能及机率 levelup-skill skillname %chance Level 1
Spawns random +to single skill within in range given 补注 1# skill-rand #Skill-Level first-skillID last-skillID 1
+ to other char classes, reduced bonus to char class with skill 2# oskill Skillname Min Max 1
补注 1#当在射程内时随机释放某技能
2#当某角色使用某技能是 为其他角色 加成(产生效果)

ac=装甲级别(就是防御等级) Basic=基本装备

Armor Class (Basic)
+ to AC 加1 防御等级 ac Min Max 1
+% to AC 加XX百分比额外防御等级 ac% Min Max 1
+ AC vs Melee 加XX对格斗的额外防御等级 ac-hth Min Max 1
+ AC vs Missiles 加XX对飞射物的额外防御等级 ac-miss Min Max 1


Durability 耐力
Quantity 数量
+ to Dur 加x额外耐力 dur Min Max
+% to Dur 加xx百分比额外耐力 dur% Min Max
Indestructible 无法破损 indestruct 1/0 1/0
Repair 1 Dur per 100/X seconds xx秒恢复1点耐力 rep-dur #sec
Repair 1 Qnt per 100/X seconds xx秒恢复1点数量 rep-quant #sec
Increase Stack by X 增加数量 stack Min Max

Attack Rating (Basic) 攻击准确率 (Basic)
+ to AR 加xx额外攻击准确率 att Min Max 1
+% to AR 加 xx百分比的额外攻击准确率 att% Min Max 1
+ to AR vs Demons 加对恶魔时的额外准确率 att-demon Min Max
+ to AR vs Undead 加对不死时的额外准确率 att-undead Min Max
+% to AR vs Montype 加对xx时的额外准确率 xx=怪物类型 att-mon% #BaseID Min Max 1


Damage Enhancements (Basic) 伤害提升(Basic)
+ to Damage 加xx额外伤害 dmg Min Max 1
+% to Damage 加xx百分比额外伤害 dmg% Min Max 1
+ to Minimum Damage 加xx到额外最小伤害 dmg-min Min Max 1
+ to Maximum Damage 额外最大伤害 dmg-max Min Max 1
+ to Minimum & Maximum Damage 加xx-xx额外伤害 dmg-norm Min Max 1
+% to Damage vs Demons 对恶魔时加xx额外伤害 dmg-demon Min Max
+% to Damage vs Undead 对不死时加xx额外伤害 dmg-undead Min Max
+% to crushing blow 加xx百分比决定性打击 crush Min Max 1
+% to deadly strike 加xx百分比致命一击 deadly Min Max 1
+ to throw damage 加xx投掷伤害 dmg-throw Min Max
+% to Damage vs Montype 对xx类型怪物时加xx百分比额外伤害 dmg-mon% #BaseID Min Max 1


Special Damage Effects (Basic) 特殊伤害效果(Basic)
专属伤害效果 1=yes 0=no
Ignores Target Defense (ITD) 忽视目标防御 ignore-ac 1/0 1/0 1
+% pierce (missiles only) 穿刺 pierce Min Max 1
knockback 击退 knock 1/0 1/0 1
+% life stolen 加xx百分比的生命偷取 lifesteal Min Max
+% mana stolen 加xx百分比的魔法偷取 manasteal Min Max
heal mana by # mana after each kill 每杀死一个目标时恢复xx魔法 ana-kill Min Max
heal life by # after each demon kill 每杀死一个目标时恢复xx生命 demon-heal Min Max
prevents monster healing 防止目标自愈 noheal 1/0 1/0
+% chance to cause open wounds 加xx百分比撕裂目标伤口 openwounds Min Max 1
Enemy Is slowed by X% 加xx百分比的减慢目标速度 slow Min Max 1
Chance to Blind Target xx使目标至盲 stupidity Min Max
Freeze Target in an amount of seconds 冻结目标xx秒 freeze Min Max 1
Reduce AC by X% 减少xx百分比的防御 reduce-ac Min Max 1
Reduce AC by X 减少xx防御 dmg-ac Min Max 1
+ to Kicking Damage 加xx脚踢伤害 kick Min Max
+% chance to reanimate target 加xx百分比鼓舞目标 reanimate MonsterID Min Max 1
Reduces monster fire resistance 减少目标火焰抗性 pierce-fire Min Max 1
Reduces monster lightning resistance 减少目标雷电抗性 pierce-ltng Min Max 1
Reduces monster cold resistance 减少目标冰冷抗性 pierce-cold Min Max 1
Reduces monster poison resistance 减少目标毒素抗性 pierce-pois Min Max 1
HP gained after every kill 每杀死一个怪物说获得的HP提升值 heal-kill Min Max 1
Corspe cannot be ressurected/Targeted 无法击中/对准 rip 1/0 1/0 1

Special Defense Effects (Basic) 专署防御效果(Basic)
+% damage taken goes to mana 把xx百分比伤害转换成魔法的提高 dmg-to-mana Min Max
reduces damage taken by X 减少xx伤害(物理) red-dmg Min Max 1
reduces damage taken by X% 减少百分之xx伤害(物理) red-dmg% Min Max 1
reduces magic damage taken by X 减少xx魔法伤害 red-mag Min Max 1
Attacker takes X damage when hitting 攻击者得到xx反伤害 thorns Min Max 1
Attacker takes X ltng dmg when hitting 攻击者得到xx电伤害 light-thorns Min Max 1

Elemental Damage 元素伤害
Cold Damage 冰冷伤害 dmg-cold #fpsdur Min Max 1
Minimum Cold Damage 最小冰冷伤害 cold-min Min Max 1
Maximum Cold Damage 最大冰冷伤害 cold-max Min Max 1
Cold Duration (# of frames, 25 = 1 Sec) 冰冻持续时间 cold-len Min Max 1
Poison Damage 毒素伤害 dmg-pois #fpsdur Min Max 1
Minimum Poison Damage 最小毒素伤害 pois-min Min Max 1
Maximum Poison Damage 最大毒素伤害 pois-max Min Max 1
Poison Duration (# of frames, 25 = 1 Sec) 中毒持续时间 pois-len Min Max 1
Fire Damage 火焰伤害 dmg-fire Min Max 1
Minimum Fire Damage 最小火焰伤害 fire-min Min Max 1
Maximum Fire Damage 最大火焰伤害 fire-max Min Max 1
Lightning Damage 闪电伤害 dmg-ltng Min Max 1
Minimum Lightning Damage 最小闪电伤害 ltng-min Min Max 1
Maximum Lightning Damage 最大闪电伤害 ltng-max Min Max 1
Magic Damage 魔法伤害 dmg-mag Min Max 1 1
Adds % dmg to Fire skills 给火焰技能加xx额外伤害 extra-fire Min Max 1 1
Adds % dmg to Lightning skills 给雷电技能加xx额外伤害 extra-ltng Min Max 1 1
Adds % dmg to Cold skills 给冰冷技能加xx额外伤害 extra-cold Min Max 1 1
Adds % dmg to Poison skills 给毒素技能加xx额外伤害 extra-pois Min Max 1 1
Adds elemental damage 加xx元素伤害 dmg-elem #fpsdur Min Max 1 1
Adds minimum elemental damage 加xx最小元素伤害 dmg-elem-min #fpsdur Min Max 1 1
Adds maximum elemental damage 加xx最大元素伤害 dmg-elem-max #fpsdur Min Max 1 1


Resistances and special effects 抗性效果
+ to Cold Absorb 加xx冰冷吸收 abs-cold Min Max 1
+% to Cold Absorb 加百分之xx的冰冷吸收 abs-cold% Min Max 1
+ to Lightning Absorb 加x雷电吸收 abs-ltng Min Max 1
+% to Lightning Absorb 加百分之xx雷电吸收 abs-ltng% Min Max 1
+ to Magic Absorb 加xx魔法吸收 abs-mag Min Max 1
+% to Magic Absorb 加百分之xx魔法吸收 abs-mag% Min Max 1
+ to Fire Absorb 加xx火焰吸收 abs-fire Min Max 1
+% to Fire Absorb 加百分之xx火焰吸收 abs-fire% Min Max 1
half Freeze Duration 冻结时间减半 half-freeze 1/0 1/0 1
Cannot be Frozen 无法冻结 nofreeze 1/0 1/0 1
+% to Resist All 所有抗性加百分之xx res-all Min Max 1
+% to Resist Cold 抗冰加百分之xx res-cold Min Max 1
+% to Resist Fire 加抗火百分之xx res-fire Min Max 1
+% to Resist Lightning 加抗电百分之xx res-ltng Min Max 1
+% to Resist Poison 加抗毒百分之xx res-pois Min Max 1
+% to Resist Magic 加抗魔法伤害百分之xx res-mag Min Max 1
+% to Maximum Resist All 加全抗的最大上限百分之xx res-all-max Min Max 1
+% to Maximum Resist Cold 加抗冰的最大上限百分之xx res-cold-max Min Max 1
+% to Maximum Resist Fire 加抗火的最大上限百分之xx res-fire-max Min Max 1
+% to Maximum Resist Lightning 加抗电的最大上限百分之xx res-ltng-max Min Max 1
+% to Maximum Resist Poison 加抗毒的最大上限百分之xx res-pois-max Min Max 1
+% to Maximum Resist Magic 加抗魔法伤害的最大上限百分之xx res-mag-max Min Max 1
Reduce Poison Duration (slows Duration) 毒素伤害效果减慢 res-pois-len Min Max 1


Stat Bonus (Basic) 角色状态(Basic)
+ to Dexterity 加xx敏捷 dex Min Max 1
+ to Strength 加xx强壮 str Min Max 1
+ to Vitality 加xx活力 vit Min Max 1
+ to Energy 加xx精力(魔法值) enr Min Max 1
Adds + to All stats 状态值加xxx (敏捷 强壮 活力 精力) all-stats Min Max 1 1

Health and Mana (Basic) 生命值和魔法值
+ to Health 加xx生命 hp Min Max 1
+% to Health 加百分之xx的生命值 hp% Min Max 1
+ to Mana 加xx魔法 mana Min Max 1
+% to Mana 加百分之xx魔法值 mana% Min Max 1
+ to Replenish Life (negative values Drain Life) 生命恢复速度 regen Min Max 1
+% to Mana Regeneration 魔法恢复速度 regen-mana Min Max 1

Movement Speed and Stamina (Basic) 耐力和移动速度(Basic)
+% run/walk speed 跑步/行走速度加百分之xx move1 Min Max 1
+% run/walk speed 跑步/行走速度加百分之xx move2 Min Max 1
+% run/walk speed 跑步/行走速度加百分之xx move3 Min Max 1
+ to stamina 加xx耐力 stam Min Max 1
+% reduce stamina drain 耐力消耗速度减少xx stamdrain Min Max 1
+% stamina regeneration 耐力恢复速度增加xx regen-stam Min Max 1


Attack Speed 攻击速度
+% attack speed 加xx攻击速度 swing1 Min Max 1
+% attack speed 加xx攻击速度 swing2 Min Max 1
+% attack speed 加xx攻击速度 swing3 Min Max 1

Blocking 挡格
+% chance to block 挡格几率加xx百分比 block Min Max 1
+% block speed 挡格速度加xx百分比 block1 Min Max 1
+% block speed 挡格速度加xx百分比 block2 Min Max 1
+% block speed 挡格速度加xx百分比 block3 Min Max 1

Cast Rating 施放魔法速率
+% cast speed 施法速度加xx百分比 cast1 Min Max 1
+% cast speed 施法速度加xx百分比 cast2 Min Max 1
+% cast speed 施法速度加xx百分比 cast3 Min Max 1

Hit Recovery 快速打击恢复
+% hit recovery speed 加百分之xx快速打击恢复 balance1 Min Max 1
+% hit recovery speed 加百分之xx快速打击恢复 balance2 Min Max 1
+% hit recovery speed 加百分之xx快速打击恢复 balance3 Min Max 1

Light Radius/Color 光照半径(可视范围)
+ to Light Radius 加xx光照半径 light Min Max 1
Adds item lightcolor 给装备加上颜色(如穿上漆甲是紫色)好恶心 color ??? ??? ??? 1 1

Missile Modifiers 弹射物修饰
Fire Magic Arrows 火焰箭 magicarrow 1/0 1/0
Fire Explosive Arrows 爆裂火焰箭 explosivearrow 1/0 1/0

Treasure (Basic) 财富(Basic)
+% chance to find magic items 不用我说了把(MF啦) mag% Min Max
+% increased gold drops 哦我是赌鬼我要钱(show me the money:>) gold% Min Max

Misc 其他
Altered Item Requirements 减需求 ease Min Max
Chance to make enemies flee 随机使目标逃跑 howl Min Max
Add X Sockets to an Item 给装备加xx孔 sock #sock
Makes any item throwable 让xx物品可以投掷 throw 1/0 1/0
Adds additional time duration 添加额外时间到持续时间 time ?? ?? ?? 1
Double herb duration 双倍xx持续时间 herb ?? ?? ?? 1
Adds additional blood 额外加血 bloody 1/0 1/0 1
Adds % additional experience gained 增加xx额外的经验值增长 addxp Min Max 1
Reduce vendor cost 交易价格减少xx cheap Min Max 1
Applies fade state 设定(装备掉落等级)规定 fade Min-Level? Max-Level? 1 1
Adds additional level requirements 增加额外等级要求 levelreq Min Max 1
Force spawns item as ethereal 物品可以升级 ethereal 1/0 1/0 1



Modifiers increasing per clvl (value/8) 由角色等级决定难度
+ X to AC per clvl 加xx防御(由角色等级决定) ac/lvl value
+% X to AC per clvl 加百分之x的防御(由角色等级决定) ac%/lvl value
+ to HP per clvl 加xx生命(由角色等级决定) hp/lvl value
+ to MANA per clvl 加xx魔法(由角色等级决定) mana/lvl value
+ to Maximum damage per clvl 加xx最大伤害(由角色等级决定) dmg/lvl value
+% to Maximum damage per clvl 加百分之xx最大伤害(由角色等级决定) dmg%/lvl value
+ to Dexterity per level 每升一级加xx敏捷 dex/lvl value
+ to Strength per level 每升一级加xx强壮 str/lvl value
+ to Vitality per level 每升一级加xx活力 vit/lvl value
+ to Energy per level 每升一级加xx精力 enr/lvl value
+% AR per level 每升一级加xx准确率 att%/lvl value
+% res cold per level 每升一级加百分之xx抗冰 res-cold/lvl value
+% res fire per level 每升一级加百分之xx抗火 res-fire/lvl value
+% res ltng per level 每升一级加百分之xx电 res-ltng/lvl value
+% res pois per level 每升一级加百分之xx抗毒 res-pois/lvl value
Attacker takes X damage per level 每升一级加xx伤害 horns/lvl value
+% More Gold per Level 每升一级加百分之xx金钱最大上限 gold%/lvl value
+% Magic Find per level 每升一级加百分之xx几率 mag%/lvl value
Absorb X Fire damage per level 每升一级吸收xx火焰伤害 abs-fire/lvl value
Absorb X Cold damage per level 每升一级吸收xx冰冷伤害 abs-cold/lvl value
Absorb X Ltng damage per level 每升一级吸收xx闪电伤害 abs-ltng/lvl value
+ maximum cold damage per level 每升一级加xx最大冰冷伤害 dmg-cold/lvl value
+ maximum fire damage per level 每升一级加xx最大火焰伤害 dmg-fire/lvl value
+ maximum ltng damage per level 每升一级加xx最大闪电伤害 dmg-ltng/lvl value
+ maximum poison damage per level 每升一级加xx最大毒素伤害 dmg-pois/lvl value
+ Kick damage per level 每升一级加xx脚踢伤害 kick/lvl value
+% damage to demons per level 每升一级加xx对恶魔伤害 dmg-dem/lvl value
+% damage to undead per level 每升一级加xx对不死伤害 dmg-und/lvl value
+ stamina per level 每升一级加xx最大耐力上限 stam/lvl value
+% regenerate stamina per level 每升一级加xx最大耐力恢复速度 regen-stam/lvl value
+% open wounds per level 每升一级加xx最大撕裂伤口几率 wounds/lvl value
+% crushing blow per level 每升一级加xx最大决定性打击几率 crush/lvl value
+% deadly strike per level 每升一级加xx最大致命一击几率 deadly/lvl value


Modifiers with static increase per clvl 由角色等级的决定静态值
+ Attack Rating per level 每升一级加xx准确率 att/lvl value
+ Attack Rating Against Undead per lvl 每升一级加xx对不死准确率 att-und/lvl value
+ Attack Rating Against Demons per lvl 每升一级加xx对恶魔准确率 att-dem/lvl value

Stats based on time ( 0=day, 1=dusk, 2=night, 3=dawn)
时间系统(0=白天 1=黄昏 2=夜晚 3=黎明)
+ AC per time 加xx防御的持续时间 ac/time #time Min Max 1
+% AC per time 加百分之xx防御的持续时间 ac%/time #time Min Max 1
+ HP per time 加xx生命的持续时间 hp/time #time Min Max 1
+ MANA per time 加xx魔法的持续时间 mana/time #time Min Max
+ Damage per time 加xx伤害的持续时间 dmg/time #time Min Max 1
+% Damage per time 加百分之xx伤害的持续时间 dmg%/time #time Min Max 1
+ Strength per time 加xx强壮的持续时间 str/time #time Min Max 1
+ Dexterity per time 加xx敏捷的持续时间 dex/time #time Min Max 1
+ Vitality per time 加xx活力的持续时间 vit/time #time Min Max 1
+ Energy per time 加xx精力的持续时间 enr/time #time Min Max 1
+ AR per time 加xx准确率的持续时间 att/time #time Min Max 1
+% AR per time 加百分之xx准确的持续时间 att%/time #time Min Max 1
+ Max Cold Damage per time 加xx最大冰冷伤害的持续时间 dmg-cold/time #time Min Max 1
+ Max Fire Damage per time 加xx最大火焰伤害的持续时间 dmg-fire/time #time Min Max 1
+ Max LTNG Damage per time 加xx最大闪电伤害的持续时间 dmg-ltng/time #time Min Max 1
+ Max Pois Damage per time 加xx最大毒素伤害的持续时间 dmg-pois/time #time Min Max 1
+ Cold Resist per time 加xx最大冰冷抵抗的持续时间 res-cold/time #time Min Max 1
+ Fire Resist per time 加xx最大火焰抵抗的持续时间 res-fire/time #time Min Max 1
+ LTNG Resist per time 加xx最大闪电抵抗的持续时间 res-ltng/time #time Min Max 1
+ Pois Resist per time 加xx最大毒素抵抗的持续时间 res-pois/time #time Min Max 1
+ more gold per time 加xx找金钱的持续时间 gold%/time #time Min Max
+ magic find per time 加xxMF的持续时间 mag%/time #time Min Max
+ stamina per time 加xx耐力的持续时间 stam/time #time Min Max
+ stamina regeneration per time 加xx耐力恢复速度的持续时间 regen-stam/time #time Min Max
+% damage to demons per time 加百分之xx对恶魔伤害的持续时间 dmg-dem/time #time Min Max
+% damage to undead per time 加百分之xx对不死伤害的持续时间 dmg-und/time #time Min Max
+ attack rating to demons per time 加百分之xx对恶魔准确率的持续时间 att-dem/time #time Min Max
+ attack rating to undead per time 加百分之xx对不死伤害的持续时间 att-und/time #time Min Max
+% deadly strike per time 加百分之xx致命一击的持续时间 deadly/time #time Min Max 1
+% crushing blow per time 加百分之xx决定性打击的持续时间 crush/time #time Min Max 1
+% open wounds per time 加百分之xx撕裂伤口的持续时间 wounds/time #time Min Max 1
+% kick damage per time 加百分之xx脚踢伤害的持续时间 kick/time #time Min Max

Unused Codes 1.10 (Never Implemented) 不常用的编码(不重要)
gembonus
fire-fx
ltng-fx
gems%/lvl
item%
dmg-slash
dmg-slash%
dmg-crush
dmg-crush%
dmg-thrust
dmg-thrust%
abs-slash
abs-crush
abs-thrust
abs-slash%
abs-crush%
abs-thrust%
gems%/time
dmg-mon
dmg%-mon
att-mon
att%-mon
ac-mon
ac%-mon

阅读(3114) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~