diff --git a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterExecutingAttack.cpp b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterExecutingAttack.cpp index be8fe15..3e32f95 100644 --- a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterExecutingAttack.cpp +++ b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterExecutingAttack.cpp @@ -22,7 +22,7 @@ void RegisterExecutingAttack::RegisterHitData(asIScriptEngine* engine) { asMETHOD(CreatureLib::Battling::ExecutingAttack::HitData, GetEffectiveness), asCALL_THISCALL); assert(r >= 0); - r = engine->RegisterObjectMethod("HitData", "float get_Damage() const property", + r = engine->RegisterObjectMethod("HitData", "uint get_Damage() const property", asMETHOD(CreatureLib::Battling::ExecutingAttack::HitData, GetDamage), asCALL_THISCALL); assert(r >= 0);