diff --git a/modules/entity_spell_system/entities/auras/aura_data.cpp b/modules/entity_spell_system/entities/auras/aura_data.cpp index 70c9d81b6..fbe45af7d 100644 --- a/modules/entity_spell_system/entities/auras/aura_data.cpp +++ b/modules/entity_spell_system/entities/auras/aura_data.cpp @@ -404,7 +404,7 @@ void AuraData::_bind_methods() { ClassDB::bind_method(D_METHOD("get_aura"), &AuraData::get_aura); ClassDB::bind_method(D_METHOD("set_aura", "value"), &AuraData::set_aura); - ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "aura", PROPERTY_HINT_RESOURCE_TYPE, "Aura"), "set_aura", "get_aura"); + ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "aura", PROPERTY_HINT_RESOURCE_TYPE, "Spell"), "set_aura", "get_aura"); ClassDB::bind_method(D_METHOD("refresh", "remaining"), &AuraData::refresh); diff --git a/modules/entity_spell_system/pipelines/spell_damage_info.cpp b/modules/entity_spell_system/pipelines/spell_damage_info.cpp index 07136cc9d..a015857ac 100644 --- a/modules/entity_spell_system/pipelines/spell_damage_info.cpp +++ b/modules/entity_spell_system/pipelines/spell_damage_info.cpp @@ -268,7 +268,7 @@ void SpellDamageInfo::_bind_methods() { ClassDB::bind_method(D_METHOD("aura_source_get"), &SpellDamageInfo::aura_source_get); ClassDB::bind_method(D_METHOD("aura_source_set", "value"), &SpellDamageInfo::aura_source_set); - ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "aura_source", PROPERTY_HINT_RESOURCE_TYPE, "Aura"), "aura_source_set", "aura_source_get"); + ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "aura_source", PROPERTY_HINT_RESOURCE_TYPE, "Spell"), "aura_source_set", "aura_source_get"); ClassDB::bind_method(D_METHOD("source_get_id"), &SpellDamageInfo::source_get_id); ClassDB::bind_method(D_METHOD("source_set_id", "value"), &SpellDamageInfo::source_set_id);