QQ图片20140602035003.jpg (161.06 KB, 下载次数: 27)
设置个状态 添加后制技能
QQ图片20140602035140.jpg (180.23 KB, 下载次数: 26)
前置技能的设置
QQ图片20140602035210.jpg (180.87 KB, 下载次数: 23)
后置技能要取消状态
# 技能上备注 <state 50> 表明只有在50号状态时才能使用 class RPG::Skill def needed_state return @needed_state unless @needed_state.nil? @needed_state = @note =~ /<state\s*(\d+)>/ ? $1.to_i : false end end class Game_BattlerBase alias no_state_skill_conditions_met? skill_conditions_met? def skill_conditions_met?(skill) no_state_skill_conditions_met?(skill) && (!skill.needed_state || state?(skill.needed_state)) end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |