赞 | 7 |
VIP | 7 |
好人卡 | 58 |
积分 | 1 |
经验 | 111901 |
最后登录 | 2021-11-5 |
在线时间 | 385 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 65
- 在线时间
- 385 小时
- 注册时间
- 2007-7-27
- 帖子
- 4106
|
- Object.defineProperties(Game_BattlerBase.prototype, {
- // Hit Points
- hp: { get: function() { return this._hp; }, configurable: true },
- // Magic Points
- mp: { get: function() { return this._mp; }, configurable: true },
- // Tactical Points
- tp: { get: function() { return this._tp; }, configurable: true },
- // Maximum Hit Points
- mhp: { get: function() { return this.param(0); }, configurable: true },
- // Maximum Magic Points
- mmp: { get: function() { return this.param(1); }, configurable: true },
- // ATtacK power
- atk: { get: function() { return this.param(2); }, configurable: true },
- // DEFense power
- def: { get: function() { return this.param(3); }, configurable: true },
- // Magic ATtack power
- mat: { get: function() { return this.param(4); }, configurable: true },
- // Magic DeFense power
- mdf: { get: function() { return this.param(5); }, configurable: true },
- // AGIlity
- agi: { get: function() { return this.param(6); }, configurable: true },
- // LUcK
- luk: { get: function() { return this.param(7); }, configurable: true },
- // HIT rate
- hit: { get: function() { return this.xparam(0); }, configurable: true },
- // EVAsion rate
- eva: { get: function() { return this.xparam(1); }, configurable: true },
- // CRItical rate
- cri: { get: function() { return this.xparam(2); }, configurable: true },
- // Critical EVasion rate
- cev: { get: function() { return this.xparam(3); }, configurable: true },
- // Magic EVasion rate
- mev: { get: function() { return this.xparam(4); }, configurable: true },
- // Magic ReFlection rate
- mrf: { get: function() { return this.xparam(5); }, configurable: true },
- // CouNTer attack rate
- cnt: { get: function() { return this.xparam(6); }, configurable: true },
- // Hp ReGeneration rate
- hrg: { get: function() { return this.xparam(7); }, configurable: true },
- // Mp ReGeneration rate
- mrg: { get: function() { return this.xparam(8); }, configurable: true },
- // Tp ReGeneration rate
- trg: { get: function() { return this.xparam(9); }, configurable: true },
- // TarGet Rate
- tgr: { get: function() { return this.sparam(0); }, configurable: true },
- // GuaRD effect rate
- grd: { get: function() { return this.sparam(1); }, configurable: true },
- // RECovery effect rate
- rec: { get: function() { return this.sparam(2); }, configurable: true },
- // PHArmacology
- pha: { get: function() { return this.sparam(3); }, configurable: true },
- // Mp Cost Rate
- mcr: { get: function() { return this.sparam(4); }, configurable: true },
- // Tp Charge Rate
- tcr: { get: function() { return this.sparam(5); }, configurable: true },
- // Physical Damage Rate
- pdr: { get: function() { return this.sparam(6); }, configurable: true },
- // Magical Damage Rate
- mdr: { get: function() { return this.sparam(7); }, configurable: true },
- // Floor Damage Rate
- fdr: { get: function() { return this.sparam(8); }, configurable: true },
- // EXperience Rate
- exr: { get: function() { return this.sparam(9); }, configurable: true }
- });
复制代码 这些属性都只有get没有set
你用_hp试试 |
|