diff options
author | UbitUmarov | 2016-07-25 02:05:53 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-25 02:05:53 +0100 |
commit | 4b832f0f8e32bf265ee13989500fb0559d1a86f7 (patch) | |
tree | 199d9190c3b6b7357ecead907aacb9fa60d88090 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |
parent | change bullet relative velocity sign to match ubOde (diff) | |
download | opensim-SC_OLD-4b832f0f8e32bf265ee13989500fb0559d1a86f7.zip opensim-SC_OLD-4b832f0f8e32bf265ee13989500fb0559d1a86f7.tar.gz opensim-SC_OLD-4b832f0f8e32bf265ee13989500fb0559d1a86f7.tar.bz2 opensim-SC_OLD-4b832f0f8e32bf265ee13989500fb0559d1a86f7.tar.xz |
add osGetHealRate(avatarkey) and osSetHealRate(avatarkey, healrate); healrate from 0 (disables auto heal) to 100 (maybe too fast) % per second. (untested)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index c55ff8e..35eee59 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -950,6 +950,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
950 | m_OSSL_Functions.osSetHealth(avatar, health); | 950 | m_OSSL_Functions.osSetHealth(avatar, health); |
951 | } | 951 | } |
952 | 952 | ||
953 | public void osSetHealRate(string avatar, double health) | ||
954 | { | ||
955 | m_OSSL_Functions.osSetHealRate(avatar, health); | ||
956 | } | ||
957 | |||
958 | public LSL_Float osGetHealRate(string avatar) | ||
959 | { | ||
960 | return m_OSSL_Functions.osGetHealRate(avatar); | ||
961 | } | ||
962 | |||
953 | public void osForceOtherSit(string avatar) | 963 | public void osForceOtherSit(string avatar) |
954 | { | 964 | { |
955 | m_OSSL_Functions.osForceOtherSit(avatar); | 965 | m_OSSL_Functions.osForceOtherSit(avatar); |