Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,33 @@
void main()
{
// AOE On Heartbeat - b
object oCreator = GetAreaOfEffectCreator(OBJECT_SELF);
// Check spell Id, ETC:
int nSpellId = GetSpellId();
int nActual = SPELL_FIREBALL;
// Get save DC:
int nSpellSaveDC = GetSpellSaveDC();
// Get caster level
int nCasterLevel = GetCasterLevel(oCreator);
// Get tag
string sTag = GetTag(OBJECT_SELF);
string sName = GetName(OBJECT_SELF);
string sResRef = GetResRef(OBJECT_SELF);
// We relay the information.
SendMessageToPC(oCreator, "ENTER (BLUE): (T: " + sTag + ")(N: " + sName + ")(RR: " + sResRef + "). ID1: " + IntToString(nSpellId) + ". ID2: " + IntToString(nActual) + ". SaveDC: " + IntToString(nSpellSaveDC) + ". CasterLevel: " + IntToString(nCasterLevel) + ".");
// Apply an On Enter effect
object oTarget = GetFirstInPersistentObject();
effect eDur = EffectVisualEffect(VFX_DUR_IOUNSTONE_GREEN);
while(GetIsObjectValid(oTarget))
{
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eDur, oTarget);
oTarget = GetNextInPersistentObject();
}
}