07-07-2013, 03:52 AM
Technically around line 24 within the first bit of code shown here:
So you can edit it to look like this...
... Would make the default spears (by their database IDs) all two-handed weapons.
BUT... you don't really need to edit the default code. After installing, you can just make a event perform a script call just by passing...
... to do the same thing.
Code:
alias twohanded_initialize initialize
def initialize
twohanded_initialize
@two_handed_weapons = []
end
end
Code:
alias twohanded_initialize initialize
def initialize
twohanded_initialize
@two_handed_weapons = [5,6,7,8]
end
end
BUT... you don't really need to edit the default code. After installing, you can just make a event perform a script call just by passing...
Code:
$game_system.two_handed_weapons = [5,6,7,8]