I've been having a crash related to Casper's CSCA Encyclopedia, when I kill a certain enemy. Here's the backtracer log.
The enemy is no different from all the other enemies I have made, so I'm not really sure why it would crash, which leads me to believe there might be a weird script interaction or something. Here's line 1475 from the script.
Code:
Casper - CSCA Encyclopedia:1475:in `csca_set_defeated': undefined method `+' for nil:NilClass, NoMethodError
from Casper - CSCA Encyclopedia:1758:in `perform_collapse_effect'
from Yanfly - Ace Battle Engine:3030:in `perform_collapse_check'
from Yanfly - Ace Battle Engine:3008:in `apply_item_effects'
from MA - DW Individual Strikes:63:in `apply_item_effects'
from Scene_Battle:597:in `invoke_item'
from Yanfly - Ace Battle Engine:3109:in `invoke_item'
from Yanfly - Ace Battle Engine:3093:in `block (2 levels) in use_item'
from Yanfly - Ace Battle Engine:3093:in `times'
from Yanfly - Ace Battle Engine:3093:in `block in use_item'
from Yanfly - Ace Battle Engine:3089:in `each'
from Yanfly - Ace Battle Engine:3089:in `use_item'
from Yanfly - Ace Battle Engine:2990:in `execute_action'
from Yanfly - Instant Cast:303:in `execute_action'
from Yanfly - Visual Battlers:655:in `execute_action'
from Scene_Battle:550:in `process_action'
from Scene_Battle:48:in `update'
from Scene_Base:14:in `main'
from SceneManager:23:in `run'
from Main:10:in `block in <main>'
The enemy is no different from all the other enemies I have made, so I'm not really sure why it would crash, which leads me to believe there might be a weird script interaction or something. Here's line 1475 from the script.
Code:
def csca_set_defeated(enemy, number = 1)
@csca_defeated_number[enemy.id] += number
end