07-17-2005, 01:00 PM
Unarmed Damage!
Tazzo da Clown
Jul 17 2005
I remember reading in one of the topics somebody (I think it was Near) saying that you can't do any damage without a weapon. Well, it just so happens you can. Go into Game_Actor and take a look at def base attk at line 267.
Now, change that zero to what you want your Attack stat to be without a weapon. It's as simple as that. Now all we need to do is figure out how to get an animation without a weapon. Anybody?
EDIT: W00t! Makeamidgets suggestion worked! After changing the code above. Go to Scene_Battle 4 and go to def make_basic_action_result on line 181. Look for these two lines:
And add this under it:
And replace the X with the animation you want. I used 4.
Tazzo da Clown
Jul 17 2005
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.
No support is given. If you are the owner of the thread, please contact administration.
I remember reading in one of the topics somebody (I think it was Near) saying that you can't do any damage without a weapon. Well, it just so happens you can. Go into Game_Actor and take a look at def base attk at line 267.
Code:
def base_atk
weapon = $data_weapons[@weapon_id]
return weapon != nil ? weapon.atk : 0
end
Now, change that zero to what you want your Attack stat to be without a weapon. It's as simple as that. Now all we need to do is figure out how to get an animation without a weapon. Anybody?
EDIT: W00t! Makeamidgets suggestion worked! After changing the code above. Go to Scene_Battle 4 and go to def make_basic_action_result on line 181. Look for these two lines:
Code:
@animation1_id = @active_battler.animation1_id
@animation2_id = @active_battler.animation2_id
And add this under it:
Code:
if @active_battler.is_a?(Game_Actor)
if $data_weapons [@active_battler.weapon_id] == nil
@animation2_id = @animation_id = X
end
end
And replace the X with the animation you want. I used 4.