- Joined
- Mar 4, 2013
- Messages
- 4
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Hi,
I was just wondering is there anyway I can show the Magic Defence on the Shop Window Screen when buying Headgear?
On the Window_ShopStatus line in the script, from line 93 is this code:
def param_id
@item.is_a?(RPG::Weapon) ? 2 : 3
end
Is there anyway I can add to it so that when I choose the Head Armour, it shows the Magic Defence instead of just Defence?
In the game, Armour (Body) increases your Defence (Vitality) while Armour (Head) increases your Magic Defence (Spirit).
This only shows the Defence so while it shows how good certain Body Armour is, it does not show the effect of the Head Armour and all of them say 0 as none of them increase in defence.
I would think only a line or two of code is needed (hopefully) but I am no scripter. Any help and advice would be very much appreciated.
Thanks.
I was just wondering is there anyway I can show the Magic Defence on the Shop Window Screen when buying Headgear?
On the Window_ShopStatus line in the script, from line 93 is this code:
def param_id
@item.is_a?(RPG::Weapon) ? 2 : 3
end
Is there anyway I can add to it so that when I choose the Head Armour, it shows the Magic Defence instead of just Defence?
In the game, Armour (Body) increases your Defence (Vitality) while Armour (Head) increases your Magic Defence (Spirit).
This only shows the Defence so while it shows how good certain Body Armour is, it does not show the effect of the Head Armour and all of them say 0 as none of them increase in defence.
I would think only a line or two of code is needed (hopefully) but I am no scripter. Any help and advice would be very much appreciated.
Thanks.


