I made this game project on godot 3.0.6 and updated it to 3.1.0 and now the HP script doesnt work.
This is a script that i use to extend to my KinematicBody2D characters (Enemies, Player)
export var DMG: int
export var MAXHP: int
for area in $hitbox.get_overlapping_areas():
for i in 1:
Originally it worked, it got the HP and DMG i set for the characters that extend the script, like 10 for the Player and 5 for the enemy, but now it just get the data from itself and now the only get 0 HP
I dont really know a lot about godot and its scripting so how can i make it so that my script runs normally again. What did they change in scripting for extending scripts.