幻想森林

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1445|回复: 3

[RMVX] 怎么设置怪物角色连击?(1+3个问题.)

[复制链接]

18

主题

87

帖子

1007

积分

⑥精研

积分
1007
QQ
发表于 2007-3-2 11:00:52 | 显示全部楼层 |阅读模式
RT,怎么设置怪物角色连击?
[s:5]
米人看啊,那再加上几个......
怎么设置一个战斗选项,使其在战斗中可以更换主角战斗图...
制作一个由特定人物使用的攻击效果道具,且每一下都是必杀,或者大幅降低对方的防御命中...

[s:4]  制作一个BT道具,使用后敌弱我强,差距很大.但是这个容易坏掉.



[s:8]  [s:8]
估计又是修改脚本方面的了.郁闷啊.
本人最擅长把复杂的事想简单.反之亦然... <METAL--MAX-RETURNS>
回复

使用道具 举报

18

主题

87

帖子

1007

积分

⑥精研

积分
1007
QQ
 楼主| 发表于 2007-3-2 11:35:03 | 显示全部楼层
[s:5] 半个多小时了都没人看.
算了,不盯帖子了.
闪人了先.
本人最擅长把复杂的事想简单.反之亦然... <METAL--MAX-RETURNS>
回复 支持 反对

使用道具 举报

好人卡的 该用户已被删除
发表于 2007-3-2 20:48:08 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

4

主题

109

帖子

2494

积分

⑥精研

不灌水者

积分
2494
发表于 2007-3-4 06:11:03 | 显示全部楼层
实用性不强的怪物连击..系统
  1. $time = 3 #怪物连击次数
  2. class Game_Battler
  3. attr_accessor :time
  4. def initialize
  5. @battler_name = &quot;&quot;
  6. @battler_hue = 0
  7. @hp = 0
  8. @sp = 0
  9. @states = []
  10. @states_turn = {}
  11. @maxhp_plus = 0
  12. @maxsp_plus = 0
  13. @str_plus = 0
  14. @dex_plus = 0
  15. @agi_plus = 0
  16. @int_plus = 0
  17. @hidden = false
  18. @immortal = false
  19. @damage_pop = false
  20. @damage = nil
  21. @critical = false
  22. @animation_id = 0
  23. @animation_hit = false
  24. @white_flash = false
  25. @blink = false
  26. @time=0
  27. @current_action = Game_BattleAction.new
  28. end
  29. end
  30. class Scene_Battle
  31. def update_phase4_step1
  32. @help_window.visible = false
  33. if judge
  34. return
  35. end
  36. if $game_temp.forcing_battler == nil
  37. setup_battle_event
  38. if $game_system.battle_interpreter.running?
  39. return
  40. end
  41. end
  42. if $game_temp.forcing_battler != nil
  43. @action_battlers.delete($game_temp.forcing_battler)
  44. @action_battlers.unshift($game_temp.forcing_battler)
  45. end
  46. if @action_battlers.size == 0
  47. start_phase2
  48. return
  49. end
  50. @animation1_id = 0
  51. @animation2_id = 0
  52. @common_event_id = 0
  53. @active_battler = @action_battlers.shift
  54. if @active_battler.is_a?(Game_Enemy)
  55. @active_battler.time=$time
  56. end
  57. if @active_battler.index == nil
  58. return
  59. end
  60. if @active_battler.hp &gt; 0 and @active_battler.slip_damage?
  61. @active_battler.slip_damage_effect
  62. @active_battler.damage_pop = true
  63. end
  64. @active_battler.remove_states_auto
  65. @status_window.refresh
  66. @phase4_step = 2
  67. end
  68. def update_phase4_step2
  69. if judge
  70. return
  71. end
  72. unless @active_battler.current_action.forcing
  73. if @active_battler.restriction == 2 or @active_battler.restriction == 3
  74. @active_battler.current_action.kind = 0
  75. @active_battler.current_action.basic = 0
  76. end
  77. if @active_battler.restriction == 4
  78. $game_temp.forcing_battler = nil
  79. @phase4_step = 1
  80. return
  81. end
  82. end
  83. @target_battlers = []
  84. case @active_battler.current_action.kind
  85. when 0
  86.   make_basic_action_result
  87. when 1  
  88.   make_skill_action_result
  89. when 2  
  90.   make_item_action_result
  91. end
  92. if @phase4_step == 2
  93. @phase4_step = 3
  94. end
  95. end
  96. def update_phase4_step6
  97. $game_temp.forcing_battler = nil
  98. if @common_event_id &gt; 0
  99. common_event = $data_common_events[@common_event_id]
  100. $game_system.battle_interpreter.setup(common_event.list, 0)
  101. end
  102. if @active_battler.time &gt;1
  103. @active_battler.time-=1  
  104. @phase4_step = 2
  105. else
  106. @phase4_step = 1
  107. end
  108. end
  109. end
复制代码
在鄙视中变强
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|幻想森林

GMT+8, 2025-6-25 05:32 , Processed in 0.010736 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表