Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#include "gzinc_effecttool"
void main()
{
int nGold = GetLocalInt(GetModule(),"T1_MODULE_HEALER_RESAB");
if (GetGold(GetPCSpeaker())>=nGold)
{
TakeGoldFromCreature(nGold, GetPCSpeaker());
ActionPauseConversation();
ActionCastFakeSpellAtObject(SPELL_HEAL,GetPCSpeaker());
ActionDoCommand(GZRemoveAbilityDamage(GetPCSpeaker()));
ActionResumeConversation();
}
else
ActionSpeakString("Sorry, you cannot afford my services!");
}