#--------------------------------------------------------------------------
# ● 普通攻击 获取对像方动画 ID
#--------------------------------------------------------------------------
def animation2_id
weapon = $data_weapons[@weapon_id]
return weapon != nil ? weapon.animation2_id : 0
end
#--------------------------------------------------------------------------
# ● 普通攻击 获取对像方动画 ID
#--------------------------------------------------------------------------
def animation2_id
weapon = $data_weapons[@weapon_id]
return 2
end
以下引用暗之影于2007-7-24 19:13:01的发言:
那有什么用处?0 0
想要什么效果?0 0
我所知道的方法只有把攻击动画改成一样的。....= =bbb
以下引用面粉于2007-7-24 19:20:29的发言:
对于默认的战斗系统。
Scene_Battle 4脚本中找到如下内容
#------------------------------------------------------
def make_basic_action_result
# 攻击的情况下
if @active_battler.current_action.basic == 0
# 设置攻击(动画) ID
@animation1_id = @active_battler.animation1_id
@animation2_id = @active_battler.animation2_id
------------------------------------------------------
@animation1_id是指行动方的动画ID
@animation2_id是指对象方的动画ID
让他们被赋值为你希望的固定ID值就可以了。
比如
@animation1_id = 13
@animation2_id = 13
这样子行动方与对象方所演示的动画就都是13号动画了。
-----------------------------------------------------
恍然发现K'也回了,方法差不多。偶的权当另一个思路吧……
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |