游侠NETSHOW论坛
标题:
【原创教程】属性公式
[打印本页]
作者:
judgeangel
时间:
2005-10-6 16:08:45
标题:
【原创教程】属性公式
不论是weapon还是armor甚至ring等,对于其上所加的属性,都可以通过一个个公式进行增加:
[magic]
{
[enchantments]
{
………………
}
}
其中省略号处就是增加属性的地方,每一个属性都按照下列格式添加:
{
alteration = *****;//属性名称
value = ***;//属性值
description = "****";//该属性的显示文本
duration = #infinite;
is_permanent = true;
is_single_instance = false;
}
其中常用的公式有:
加三围:
alteration = alter_intelligence
alteration = alter_strength
alteration = alter_dexterity
分别是智力、强壮和敏捷
加抗性:
alteration = alter_magical_resistance
alteration = alter_fire_resistance
alteration = alter_death_resistance
alteration = alter_ice_resistance
alteration = alter_lightning_resistance
alteration = alter_ranged_resistance
alteration = alter_melee_resistance
分别是魔抗、火抗、死抗、冰抗、电抗、弓抗(包括投掷类)、剑抗(包括各类近战武器)
加血和魔:
alteration = alter_max_life
alteration = alter_max_mana
加血和魔的恢复:
alteration = alter_life_recovery_unit
alteration = alter_mana_recovery_unit
加技能:
alteration = ALTER_MELEE_PASSIVE_SKILLS
alteration = ALTER_RANGED_PASSIVE_SKILLS
alteration = ALTER_COMBAT_MAGIC_PASSIVE_SKILLS
alteration = ALTER_NATURE_MAGIC_PASSIVE_SKILLS
分别是近战、远程、战法、自法
加属性伤害:
alteration = alter_custom_damage_lightning
alteration = alter_custom_damage_ice
alteration = alter_custom_damage_death
alteration = alter_custom_damage_fire
分别是电、冰、死亡、火
加伤害:
alteration = alter_cmagic_damage_percent
alteration = alter_nmagic_damage_percent
alteration = alter_melee_damage_percent
alteration = alter_ranged_damage_percent
分别是自法、战法、近战、远程
加经验:
alteration = alter_experience_gained
加mf:
alteration = alter_magic_find_chance
加特技恢复:
alteration = alter_power_reload
加伤害返还:
alteration = alter_reflect_damage
欢迎光临 游侠NETSHOW论坛 (https://game.ali213.net/)
Powered by Discuz! X2