Initial commit. Updated release archive.
This commit is contained in:
15
_module/nss/gzcs_rem_poison.nss
Normal file
15
_module/nss/gzcs_rem_poison.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "gzinc_effecttool"
|
||||
void main()
|
||||
{
|
||||
int nGold = GetLocalInt(GetModule(),"T1_MODULE_HEALER_POISON");
|
||||
if (GetGold(GetPCSpeaker())>=nGold)
|
||||
{
|
||||
TakeGoldFromCreature(nGold, GetPCSpeaker());
|
||||
ActionPauseConversation();
|
||||
ActionCastFakeSpellAtObject(SPELL_HEAL,GetPCSpeaker());
|
||||
ActionDoCommand(GZRemovePoison(GetPCSpeaker()));
|
||||
ActionResumeConversation();
|
||||
}
|
||||
else
|
||||
ActionSpeakString("Sorry, you cannot afford my services!");
|
||||
}
|
Reference in New Issue
Block a user