public static ReApply ( int buff, NPC npc, int time, int buffIndex ) : bool | ||
buff | int | |
npc | NPC | |
time | int | |
buffIndex | int | |
return | bool |
public static bool ReApply(int buff, NPC npc, int time, int buffIndex)
{
foreach (var hook in HookReApplyNPC)
{
if (hook(buff, npc, time, buffIndex))
{
return true;
}
}
if (IsModBuff(buff))
{
return GetBuff(buff).ReApply(npc, time, buffIndex);
}
return false;
}
BuffLoader::ReApply ( int buff, Player player, int time, int buffIndex ) : bool |