mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-27 06:07:14 +01:00
Fix property types. Auras have been merged into Spells a while ago.
This commit is contained in:
parent
d8bd83dbd5
commit
de9da3151f
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user