Hello, I am trying to fix a bug in a custom dual wield script in the class Scene_Battle.
To assist with this, I'd like to know if the Actor used the Attack command or the Item command.
(The bug is the dual wielding actor uses the item twice)
I want to return a messagebox to me (during the battle) after the first line to tell me what "item" equals.
I'm not sure if it's a number, a string, or something else.
item = @subject.current_action.item
#messagebox here
In theory if I can isolate what they are calling "Attack" I can avoid running the code further down
that allows dual wield separate attacks.
Thanks in advance for any assistance.
Eric
To assist with this, I'd like to know if the Actor used the Attack command or the Item command.
(The bug is the dual wielding actor uses the item twice)
I want to return a messagebox to me (during the battle) after the first line to tell me what "item" equals.
I'm not sure if it's a number, a string, or something else.
item = @subject.current_action.item
#messagebox here
In theory if I can isolate what they are calling "Attack" I can avoid running the code further down
that allows dual wield separate attacks.
Thanks in advance for any assistance.
Eric