注册 | 登录

游侠NETSHOW论坛





查看: 2683|回复: 0
打印 上一主题 下一主题

【原创教程】属性公式 [复制链接]

人族 安塞隆移民

帖子
41
精华
1
积分
212
金钱
138
荣誉
0
人气
0
评议
0
楼主
发表于 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
  • 使用道具 举报

    您需要登录后才可以回帖 登录 | 注册

    手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

    GMT+8, 2025-10-15 22:12 , Processed in 0.280559 second(s), 10 queries , Gzip On, Memcache On.

    Powered by Discuz! X2

    © 2001-2011 Comsenz Inc.

    分享到