Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
/////////////////////////////////////////////////////////
//
// Craftable Natural Resources (CNR) by Festyx
//
// Name: cnr_rock_osca
//
// Desc: OnSpellCastAt event handler for minable
// rocks. Minable rocks are immune to spell attacks.
//
// Author: David Bobeck 30Apr03
//
/////////////////////////////////////////////////////////
#include "cnr_language_inc"
void main()
{
object oPC = GetLastSpellCaster();
if (GetIsObjectValid(oPC) && GetIsPC(oPC))
{
SetPlotFlag(OBJECT_SELF, TRUE);
FloatingTextStringOnCreature(CNR_TEXT_MINABLE_ROCKS_ARE_RESISTANT, oPC, FALSE);
// clear the plot flag so the next attacker won't get "weapon not effective"
DelayCommand(1.0, SetPlotFlag(OBJECT_SELF, FALSE));
}
}