YellowSubmarine
Member
I just need a simple little script that returns the Monster ID of a skill's target; I tried using $game_troop.smooth_target_enemy, but I couldn't get it to work. Thanks!
attr_accessor :target_battlers
@target = self.id
$game_battler.target == 34
begin
SDK.log('Skill Target', 'sandgolem', 1, '15.07.06')
rescue
end
class Game_Battler
alias sandgolem_itemtarget_battler_skeff skill_effect
def skill_effect(user,skill)
sandgolem_itemtarget_battler_skeff(user,skill)
$sg_skilltarget = self
end
end
$game_variables[#] = self.id