public override void onExit(world.L2Object obj, bool cls) { if (!_enabled) { return; } base.onExit(obj, cls); obj.onExitZone(this, cls); if (obj is L2Player) { L2Player p = (L2Player)obj; p.sendSystemMessage(Template._leaving_message_no); if (!Template._affect_race.Equals("all")) { if (Template._affect_race.Equals("elf")) { if (p.BaseClass.ClassId.ClassRace != ClassRace.ELF) { return; } } } // p._stats.p_regen_hp -= Template._hp_regen_bonus; // p._stats.p_regen_mp -= Template._mp_regen_bonus; } }
public override void onExit(world.L2Object obj, bool cls) { if (!_enabled) { return; } base.onExit(obj, cls); obj.onExitZone(this, cls); }
public override void onExit(world.L2Object obj, bool cls) { if (!_enabled) { return; } base.onExit(obj, cls); obj.onExitZone(this, cls); if (obj is L2Player) { L2Player p = (L2Player)obj; p.sendSystemMessage(Template._leaving_message_no); } }
public override void onExit(world.L2Object obj, bool cls) { if (!_enabled) { return; } base.onExit(obj, cls); obj.onExitZone(this, cls); if (obj is L2Player) { // p._stats.p_regen_hp += Template._hp_regen_bonus; // p._stats.p_regen_mp += Template._mp_regen_bonus; } }
public override void onExit(world.L2Object obj, bool cls) { if (!_enabled) { return; } base.onExit(obj, cls); obj.onExitZone(this, cls); if (obj is L2Character) { ((L2Character)obj).sendMessage("u lost effect defence."); } }
public override void onExit(world.L2Object obj, bool cls) { if (!_enabled) { return; } base.onExit(obj, cls); obj.onExitZone(this, cls); if (obj is L2Player) { L2Player p = (L2Player)obj; p.isInDanger = false; p.sendPacket(new EtcStatusUpdate(p)); } }
public override void onExit(world.L2Object obj, bool cls) { if (!_enabled) { return; } base.onExit(obj, cls); obj.onExitZone(this, cls); if (obj is L2Player) { L2Player p = (L2Player)obj; p.isInDanger = false; p.sendPacket(new EtcStatusUpdate(p)); // p._stats.base_p_speed -= Template._move_bonus; p.broadcastUserInfo(); } }