SetNewItemValueEx » 历史记录 » 版本 1
tejie, 2024-07-23 13:57
| 1 | 1 | tejie | h4. _*{color:green}setNewItemValueEx*_ |
|---|---|---|---|
| 2 | |||
| 3 | 装备增加临时隐藏属性,不会在装备上或者属性栏显示属性。 |
||
| 4 | |||
| 5 | *格式:* |
||
| 6 | |命令名 |参数1 |参数2 |参数3 |参数4 |参数5 | |
||
| 7 | |setNewItemValueEx|装备位|属性(0-25)|操作符(+,-,=)|操作值|时长(1-65535)秒| |
||
| 8 | |||
| 9 | *说明:* |
||
| 10 | |^.参数1|装备位| |
||
| 11 | |^.参数2|属性类型 |
||
| 12 | 0 暴击几率增加 1~1000% |
||
| 13 | 1 增加攻击伤害 1~1000% |
||
| 14 | 2 物理伤害减少 1~100% |
||
| 15 | 3 魔法伤害减少 1~100% |
||
| 16 | 4 忽视目标防御 1~100% |
||
| 17 | 5 所有伤害反弹 1~100% |
||
| 18 | 6 增加杀人暴率 1~100% |
||
| 19 | 7 人物回血增加 1~100% |
||
| 20 | 8 人物回蓝增加 1~100% |
||
| 21 | 11 增加杀怪暴率 1~100% |
||
| 22 | 12 增加防爆几率(该件装备死亡防止爆出几率) 1~100% |
||
| 23 | 13 增加防止麻痹 1~100% |
||
| 24 | 14 增加防止护身 1~100% |
||
| 25 | 15 增加防止复活 1~100% |
||
| 26 | 16 增加防止全毒 1~100%(对[[makePosion]]等脚本命令无效) |
||
| 27 | 17 增加防止诱惑 1~100% |
||
| 28 | 18 增加防止火墙 1~100% |
||
| 29 | 19 增加防止冰冻 1~100% |
||
| 30 | 20 增加防止蛛网 1~100% |
||
| 31 | <notextile></notextile> |
||
| 32 | 24 暴击抗性 1~1000% |
||
| 33 | (对方暴击几率 - 暴击抗性 = 对方暴击打出几率) |
||
| 34 | 本抗性对应 *元素属性0 暴击几率增加* |
||
| 35 | 几率大于100%则按照100%计算, |
||
| 36 | 如暴击几率300%, |
||
| 37 | 目标暴击抗性270%,那么攻击这个目标的暴击几率只有30%, |
||
| 38 | 目标抗性为10% ,就是300-10=290 ,也为100% |
||
| 39 | <notextile></notextile> |
||
| 40 | 25 攻击伤害抗性 1~1000% |
||
| 41 | (对方攻击伤害倍数 - 攻击伤害抗性 = 对方攻击伤害增加的倍数) |
||
| 42 | 本抗性对应 *元素属性1 加攻击伤害* | |
||
| 43 | |^.参数3|操作符(+,-,=) +与=等效,都表示增加| |
||
| 44 | |^.参数4|操作值| |
||
| 45 | |^.参数5|时长(1-65535)秒| |
||
| 46 | |||
| 47 | - |
||
| 48 | - |
||
| 49 | |||
| 50 | 相关命令 |
||
| 51 | [[setNewItemValue]] |
||
| 52 | |||
| 53 | - |
||
| 54 | - |
||
| 55 | |||
| 56 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
| 57 | |||
| 58 | bq. [@示例] |
||
| 59 | <text:加暴击:0:32/@0> <text:加攻击伤害:500:32/@1> |
||
| 60 | <text:加物理减伤:0:96/@2> <text:加魔法减伤:500:96/@3> |
||
| 61 | <text:加忽视防御:0:160/@4><text:加伤害反弹:500:160/@5> |
||
| 62 | <text:加杀人爆率:0:224/@6><text:加血量回复:500:224/@7> |
||
| 63 | <text:加蓝量回复:0:288/@8><text:加杀怪爆率:500:288/@11> |
||
| 64 | <text:防死亡爆出:0:352/@12><text:加防麻痹:500:352/@13> |
||
| 65 | <text:加防护身:0:416/@14><text:加防复活:500:416/@15> |
||
| 66 | <text:加防全毒:0:480/@16><text:加防诱惑:500:480/@17> |
||
| 67 | <text:加防火墙:0:544/@18><text:加防冰冻:500:544/@19> |
||
| 68 | <text:加暴击抗性:0:608/@24><text:加伤害抗性:500:608/@25> |
||
| 69 | <notextile></notextile> |
||
| 70 | <notextile></notextile> |
||
| 71 | [@0] |
||
| 72 | #act |
||
| 73 | *{color:green}setNewItemValueEx* 0 0 + 10 10 |
||
| 74 | [[sendMsg]] 6 衣服增加暴击10%,持续10秒 |
||
| 75 | <notextile></notextile> |
||
| 76 | [@1] |
||
| 77 | #act |
||
| 78 | *{color:green}setNewItemValueEx* 0 1 + 10 10 |
||
| 79 | [[sendMsg]] 6 衣服增加攻击伤害10%,持续10秒 |
||
| 80 | <notextile></notextile> |
||
| 81 | [@2] |
||
| 82 | #act |
||
| 83 | *{color:green}setNewItemValueEx* 0 2 + 10 10 |
||
| 84 | [[sendMsg]] 6 衣服增加物理伤害10%,持续10秒 |
||
| 85 | <notextile></notextile> |
||
| 86 | [@3] |
||
| 87 | #act |
||
| 88 | *{color:green}setNewItemValueEx* 0 3 + 10 10 |
||
| 89 | [[sendMsg]] 6 衣服增加魔法伤害10%,持续10秒 |
||
| 90 | <notextile></notextile> |
||
| 91 | [@4] |
||
| 92 | #act |
||
| 93 | *{color:green}setNewItemValueEx* 0 4 + 10 10 |
||
| 94 | [[sendMsg]] 6 衣服增加忽视防御10%,持续10秒 |
||
| 95 | <notextile></notextile> |
||
| 96 | [@5] |
||
| 97 | #act |
||
| 98 | *{color:green}setNewItemValueEx* 0 5 + 10 10 |
||
| 99 | [[sendMsg]] 6 衣服增加伤害反弹10%,持续10秒 |
||
| 100 | <notextile></notextile> |
||
| 101 | [@6] |
||
| 102 | #act |
||
| 103 | *{color:green}setNewItemValueEx* 0 6 + 10 10 |
||
| 104 | [[sendMsg]] 6 衣服增加杀人爆率10%,持续10秒 |
||
| 105 | <notextile></notextile> |
||
| 106 | [@7] |
||
| 107 | #act |
||
| 108 | *{color:green}setNewItemValueEx* 0 7 + 10 10 |
||
| 109 | [[sendMsg]] 6 衣服增加人物加血量10%,持续10秒 |
||
| 110 | <notextile></notextile> |
||
| 111 | [@8] |
||
| 112 | #act |
||
| 113 | *{color:green}setNewItemValueEx* 0 8 + 10 10 |
||
| 114 | [[sendMsg]] 6 衣服增加人物回蓝量10%,持续10秒 |
||
| 115 | <notextile></notextile> |
||
| 116 | [@11] |
||
| 117 | #act |
||
| 118 | *{color:green}setNewItemValueEx* 0 11 + 10 10 |
||
| 119 | [[sendMsg]] 6 衣服增加杀怪爆率10%,持续10秒 |
||
| 120 | <notextile></notextile> |
||
| 121 | [@12] |
||
| 122 | #act |
||
| 123 | *{color:green}setNewItemValueEx* 0 12 + 10 10 |
||
| 124 | [[sendMsg]] 6 衣服增加防死亡爆出10%,持续10秒 |
||
| 125 | <notextile></notextile> |
||
| 126 | [@13] |
||
| 127 | #act |
||
| 128 | *{color:green}setNewItemValueEx* 0 13 + 10 10 |
||
| 129 | [[sendMsg]] 6 衣服增加防麻痹10%,持续10秒 |
||
| 130 | <notextile></notextile> |
||
| 131 | [@14] |
||
| 132 | #act |
||
| 133 | *{color:green}setNewItemValueEx* 0 14 + 10 10 |
||
| 134 | [[sendMsg]] 6 衣服增加防护身10%,持续10秒 |
||
| 135 | <notextile></notextile> |
||
| 136 | [@15] |
||
| 137 | #act |
||
| 138 | *{color:green}setNewItemValueEx* 0 15 + 10 10 |
||
| 139 | [[sendMsg]] 6 衣服增加复活10%,持续10秒 |
||
| 140 | <notextile></notextile> |
||
| 141 | [@16] |
||
| 142 | #act |
||
| 143 | *{color:green}setNewItemValueEx* 0 16 + 10 10 |
||
| 144 | [[sendMsg]] 6 衣服增加防全毒10%,持续10秒 |
||
| 145 | <notextile></notextile> |
||
| 146 | [@17] |
||
| 147 | #act |
||
| 148 | *{color:green}setNewItemValueEx* 0 17 + 10 10 |
||
| 149 | [[sendMsg]] 6 衣服增加防诱惑10%,持续10秒 |
||
| 150 | <notextile></notextile> |
||
| 151 | [@18] |
||
| 152 | #act |
||
| 153 | *{color:green}setNewItemValueEx* 0 18 + 10 10 |
||
| 154 | [[sendMsg]] 6 衣服增加防火墙10%,持续10秒 |
||
| 155 | <notextile></notextile> |
||
| 156 | [@19] |
||
| 157 | #act |
||
| 158 | *{color:green}setNewItemValueEx* 0 19 + 10 10 |
||
| 159 | [[sendMsg]] 6 衣服增加防冰冻10%,持续10秒 |
||
| 160 | <notextile></notextile> |
||
| 161 | [@20] |
||
| 162 | #act |
||
| 163 | *{color:green}setNewItemValueEx* 0 24 + 10 10 |
||
| 164 | [[sendMsg]] 6 衣服增加防蛛网10%,持续10秒 |
||
| 165 | <notextile></notextile> |
||
| 166 | [@24] |
||
| 167 | #act |
||
| 168 | *{color:green}setNewItemValueEx* 0 24 + 10 10 |
||
| 169 | [[sendMsg]] 6 衣服增加暴击抗性10%,持续10秒 |
||
| 170 | <notextile></notextile> |
||
| 171 | [@25] |
||
| 172 | #act |
||
| 173 | *{color:green}setNewItemValueEx* 0 25 + 10 10 |
||
| 174 | [[sendMsg]] 6 衣服增加伤害抗性10%,持续10秒 |