por srgehhh Sáb Dez 12, 2015 2:33 pm
Consegui já!
No script do [ABS] Mr.Mo's ABS
encontrei a linha 524
E adicionei o script q fiz abaixo da linha do 524 a 542:
if $game_party.actors[0].weapon_id == 21
Audio.se_play("Audio/SE/" + "001-System01", 100, 3)
end
Ficou assim:
524 #--------------------------------------------------------------------------
525 # * Player Ranged Attack
526 #--------------------------------------------------------------------------
def player_range
#Get the weapon
w = RANGE_WEAPONS[@actor.weapon_id]
if w[3].to_i > 0
#Return if the ammo isn't there
return if $game_party.item_number(w[3]) == 0
#Delete an ammo
$game_party.lose_item(w[3], 1)
else
if $game_party.actors[0].sp >= (w[3] * -1)
$game_party.actors[0].sp -= (w[3] * -1)
else
Game_Chat.add(Vocab::WEAPON_MAGIC)
end
end
#542
#ADICIONEI O SCRIP ABAIXO
#ARMA DE ID 21
if $game_party.actors[0].weapon_id == 21
Audio.se_play("Audio/SE/" + "001-System01", 100, 3)
end
#ARMA DE ID 22
if $game_party.actors[0].weapon_id == 21
Audio.se_play("Audio/SE/" + "001-System01", 100, 3)
end