|
Well, first of all my english sucks. I have a problem with a script, i have a script for shooting and its really long but this part here:
def shot angle = (@direction == 4 ? 3.141592 : 0.0) $game_map.screen.shot_bullet(@real_x + 128, @real_y + 128, angle, 64, 1, 40, 0, 0) end
is where you can edit how much damage and other things. The thing is that i want to change the numbers when you have equipped, for example a different bow.
To change them like for example this: def shot angle = (@direction == 4 ? 3.141592 : 0.0) $game_map.screen.shot_bullet(@real_x + 128, @real_y + 128, angle, 64, 2, 40, 0, 5) end
But i dont really know much about scripting so if someone knows help me, must be with if command or something like that.
|