class Scene_Battle
EXCEPTION_NOSHIELD = []
# IDs of actor who can still defense when he/she isn't equipping shield
# e.g. [1,4,8]
alias wora_noshnodef_scebat_sacs start_actor_command_selection
def start_actor_command_selection
wora_noshnodef_scebat_sacs
if @active_battler.armor1_id != 0 or # Equipping Shield?
EXCEPTION_NOSHIELD.include?(@active_battler.id) # Exception actors
@actor_command_window.draw_item(2, true)
else
@actor_command_window.draw_item(2, false)
end
end
alias wora_noshnodef_scebat_updacs update_actor_command_selection
def update_actor_command_selection
if Input.trigger?(Input::C) and @actor_command_window.index == 2 and
@active_battler.armor1_id == 0 and !EXCEPTION_NOSHIELD.include?(@active_battler.id)
Sound.play_cancel
else
wora_noshnodef_scebat_updacs
end
end
end
전투
2009.02.07 17:03
방패가없어? 그럼 방어못하게하는 스크립트.
조회 수 3479 추천 수 0 댓글 16
| 첨부 '1' |
|---|
Comment '16'
-
?
와우 유용한 스크립트군요
-
?
잘쓸께요 ㅋ
-
?
감사
-
?
뭐지 ?.. 어쨋든 감사합니다
-
?
방패들면 '강한 방어' (데미지 1/4 받음) 효과로 방어할 수 있는게 더 유용할 것 같음 ㅎㅎ
그런건 없으려나.. -
?
와우 짱이다 ㄳㄳ
-
?
잘 쓸게요!!
-
?
유용한 스크립트군요^^
-
?
방패 없어도 방어하는 이건 무슨상황?
-
?
양손으로 X자 가드...아닐까요?
-
?
잘 쓰셔서
감사합니다.
-
?
그냥 가져다 붙이면 되는건감 이거
-
?
잘쓰겠습니다~
-
감사합니다 .
-
?
이거 해봤는데 이도류 사용하는 캐릭터도 무기2에 무기들고 있으면 방어 커맨드 사용됨 ㅋㅋㅋ
-
?
감사합니다, 잘쓸게요