Project1
标题:
使用药品的判断词语怎么找
[打印本页]
作者:
超越极限
时间:
2008-11-28 06:19
提示:
作者被禁止或删除 内容自动屏蔽
作者:
殲滅天使·玲
时间:
2008-11-28 06:42
使用物品 添加状态 ,
使用思路 当 人物某状态附加时
详细搜索 "状态法"
作者:
Ж纯Ж蓝Ж
时间:
2008-11-28 06:46
以下引用
殲滅天使·玲于2008-11-27 22:42:49
的发言:
使用物品 添加状态 ,
使用思路 当 人物某状态附加时
详细搜索 "状态法"
玲儿好~
最近好久不上.冒个泡~
PS:要VIP?20够不够? [LINE]1,#dddddd[/LINE]
版主对此帖的评论:『灌水。』,积分『-50』。这些被扣积分的一半会用于对本帖正确答案的悬赏。
作者:
超越极限
时间:
2008-11-28 07:01
提示:
作者被禁止或删除 内容自动屏蔽
作者:
殲滅天使·玲
时间:
2008-11-28 07:04
http://rpg.blue/web/htm/news163.htm
判断状态的脚本写法我不太清楚 ,所以没办法写出来 Orz
你要的效果是不是使用药以后 判断是某个人物使用吗?
如果不是无视掉吧
作者:
超越极限
时间:
2008-11-28 07:04
提示:
作者被禁止或删除 内容自动屏蔽
作者:
殲滅天使·玲
时间:
2008-11-28 08:05
when 3 # 物品
# 演奏确定 SE
$game_system.se_play($data_system.decision_se)
# 设置行动
@active_battler.current_action.kind = 0
@active_battler.current_action.basic = 4
# 转向下一位角色的指令输入
phase3_next_actor
end
你这个地方这样修改
然后在SCENE_BATTLE4之后 插入脚本
class Scene_Battle
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
# 行动方的战斗者是敌人的情况下
if @active_battler.is_a?(Game_Enemy)
if @active_battler.restriction == 3
target = $game_troop.random_target_enemy
elsif @active_battler.restriction == 2
target = $game_party.random_target_actor
else
index = @active_battler.current_action.target_index
target = $game_party.smooth_target_actor(index)
end
end
# 行动方的战斗者是角色的情况下
if @active_battler.is_a?(Game_Actor)
if @active_battler.restriction == 3
target = $game_party.random_target_actor
elsif @active_battler.restriction == 2
target = $game_troop.random_target_enemy
else
index = @active_battler.current_action.target_index
target = $game_troop.smooth_target_enemy(index)
end
end
# 设置对像方的战斗者序列
@target_battlers = [target]
# 应用通常攻击效果
for target in @target_battlers
target.attack_effect(@active_battler)
end
return
end
# 防御的情况下
if @active_battler.current_action.basic == 1
# 帮助窗口显示"防御"
@help_window.set_text($data_system.words.guard, 1)
return
end
if @active_battler.current_action.basic == 4
# 帮助窗口显示"待機"
@help_window.set_text("待機", 1)
return
end
# 逃跑的情况下
if @active_battler.is_a?(Game_Enemy) and
@active_battler.current_action.basic == 2
# 帮助窗口显示"逃跑"
@help_window.set_text("逃跑", 1)
# 逃跑
@active_battler.escape
return
end
# 什么也不做的情况下
if @active_battler.current_action.basic == 3
# 清除强制行动对像的战斗者
$game_temp.forcing_battler = nil
# 移至步骤 1
@phase4_step = 1
return
end
end
end
复制代码
就是把 物品改为待机了 ,物品的名称显示你就自己改吧相信你应该认得 [LINE]1,#dddddd[/LINE]
系统信息:本贴由本区版主认可为正确答案,66RPG感谢您的热情解答~
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1