Spoiler
func int Spell_Logic_ForestFury(var int manaInvested)
{
PrintDebugNpc (PD_MAGIC, "Spell_Logic_ForestFury");
if (manaInvested >= SPL_SENDCAST_ForestFury)
{
if (Npc_IsPlayer(self))
{
Wld_SpawnNpcRange (self, SummonedByPC_Molerat, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Wolf, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Waran, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Scavenger, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Lurker, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Bloodfly, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Gobbo, 1, 100);
}
else
{
Wld_SpawnNpcRange (self, SummonedByPC_Molerat, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Wolf, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Waran, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Scavenger, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Lurker, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Bloodfly, 1, 100);
Wld_SpawnNpcRange (self, SummonedByPC_Gobbo, 1, 100);
};
return SPL_SENDCAST;
}
else
{
return SPL_NEXTLEVEL;
};
};
Spoiler
INSTANCE ForestFury (C_Item)
{
name = NAME_Rune;
mainflag = ITEM_KAT_RUNE;
flags = 0;
value = 1100;
visual = "ItAr_Rune_15.3ds";
material = MAT_STONE;
spell = SPL_FORESTFURY;
mag_circle = 1;
description = "Furia Lasu";
TEXT
- = NAME_Mag_Circle; COUNT
- = mag_circle;
TEXT [1] = NAME_Manakosten; COUNT [1] = SPL_SENDCAST_FORESTFURY;
//TEXT [3] = ""; COUNT [3] = ;
//TEXT [4] = "";
TEXT [5] = NAME_Value; COUNT [5] = value;
};
A przecież jest taki spell w folderze z czarami.