- Joined
- Apr 22, 2013
- Messages
- 731
- Reaction score
- 40
- First Language
- English
- Primarily Uses
I get this funny error that only pops up when I load a saved game. It is an error from the Game_BattlerBase script.
line 723: TypeError occurred.
no implicit conversion from nil to integer.
So it's this thing:
#--------------------------------------------------------------------------
# * Determine Usability of Normal Attack
#--------------------------------------------------------------------------
def attack_usable?
usable?($data_skills[attack_skill_id]) <--- Line 723
end
I do have one script that deals with attack skill id's. It is the Yanfly WeaponAttackreplace. In it, I can give weapons specific normal attack id's. This only happens when I load up a saved game though. The script works fine from new game.
But just in case for whatever reason it isn't that script despite the evidence. Here are all my scripts:
YanflyWeaponAttackreplace
Tsukihime EffectManager
Tsukihime Autostate
Tsukihime Instance items and the fix for it
Equipmentbase script and the equipmentlevel script from Selchar and Tsukihime.
Just me trying to learn a little bit when it says no implicit conversion from nil to integer. Is it trying to tell me that there is no automatic change from attack skill id 1 to whatever the id is for any equipped weapon?
line 723: TypeError occurred.
no implicit conversion from nil to integer.
So it's this thing:
#--------------------------------------------------------------------------
# * Determine Usability of Normal Attack
#--------------------------------------------------------------------------
def attack_usable?
usable?($data_skills[attack_skill_id]) <--- Line 723
end
I do have one script that deals with attack skill id's. It is the Yanfly WeaponAttackreplace. In it, I can give weapons specific normal attack id's. This only happens when I load up a saved game though. The script works fine from new game.
But just in case for whatever reason it isn't that script despite the evidence. Here are all my scripts:
YanflyWeaponAttackreplace
Tsukihime EffectManager
Tsukihime Autostate
Tsukihime Instance items and the fix for it
Equipmentbase script and the equipmentlevel script from Selchar and Tsukihime.
Just me trying to learn a little bit when it says no implicit conversion from nil to integer. Is it trying to tell me that there is no automatic change from attack skill id 1 to whatever the id is for any equipped weapon?
Last edited by a moderator:

