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
endCode:
alias twohanded_initialize initialize
def initialize
twohanded_initialize
@two_handed_weapons = [5,6,7,8]
end
endBUT... 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]
![[Image: QrnbKlx.jpg]](https://i.imgur.com/QrnbKlx.jpg)
![[Image: sGz1ErF.png]](https://i.imgur.com/sGz1ErF.png)
![[Image: liM4ikn.png]](https://i.imgur.com/liM4ikn.png)
![[Image: fdzKgZA.png]](https://i.imgur.com/fdzKgZA.png)
![[Image: sj0H81z.png]](https://i.imgur.com/sj0H81z.png)
![[Image: QL7oRau.png]](https://i.imgur.com/QL7oRau.png)
![[Image: uSqjY09.png]](https://i.imgur.com/uSqjY09.png)
![[Image: GAA3qE9.png]](https://i.imgur.com/GAA3qE9.png)
![[Image: 2Hmnx1G.png]](https://i.imgur.com/2Hmnx1G.png)
![[Image: BwtNdKw.png%5B]](https://i.imgur.com/BwtNdKw.png%5B)