From: Mario Date: Mon, 18 Jun 2018 00:57:34 +0000 (+1000) Subject: Update Heal documentation (again) X-Git-Tag: xonotic-v0.8.5~2022^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F569%2Fhead;p=xonotic%2Fxonotic-data.pk3dir.git Update Heal documentation (again) --- diff --git a/qcsrc/server/g_damage.qh b/qcsrc/server/g_damage.qh index e752f1057..88fbf1344 100644 --- a/qcsrc/server/g_damage.qh +++ b/qcsrc/server/g_damage.qh @@ -97,7 +97,7 @@ float RadiusDamageForSource (entity inflictor, vector inflictororigin, vector in float RadiusDamage (entity inflictor, entity attacker, float coredamage, float edgedamage, float rad, entity cantbe, entity mustbe, float forceintensity, int deathtype, .entity weaponentity, entity directhitentity); // Calls .event_heal on the target so that they can handle healing themselves -// a limit of -1 should be handled by the entity as its max health (if applicable) +// a limit of RESOURCE_LIMIT_NONE should be handled by the entity as its max health (if applicable) bool Heal(entity targ, entity inflictor, float amount, float limit); .float fire_damagepersec;