赞 | 0 |
VIP | 90 |
好人卡 | 0 |
积分 | 104 |
经验 | 60532 |
最后登录 | 2020-7-14 |
在线时间 | 1181 小时 |
Lv4.逐梦者 水月·镜花
- 梦石
- 10
- 星屑
- 403
- 在线时间
- 1181 小时
- 注册时间
- 2005-10-22
- 帖子
- 1183
|
- class Sprite_Character < RPG::Sprite
- alias carol3_66RPG_damage_pop_update update
- def update
- carol3_66RPG_damage_pop_update
- if @character.damage_pop
- damage(@character.damage, @character.critical)
- @character.damage = nil
- @character.critical = false
- @character.damage_pop = false
- end
- end
- end
- class Game_Character
- attr_accessor :damage_pop
- attr_accessor :damage
- attr_accessor :critical
- alias carol3_66RPG_damage_pop_initialize initialize
- def initialize
- @damage_pop = false
- @damage = 0
- @critical = false
- carol3_66RPG_damage_pop_initialize
- end
- end
复制代码 这个? |
|