Core/Script: add script hook to allow overriding of a vehicle passenger's exit position
Port From (https://github.com/TrinityCore/TrinityCore/commit/1edd93bc0c443cdabc104af9f440e07b6d473a08)
This commit is contained in:
@@ -303,6 +303,9 @@ namespace Game.Scripting
|
||||
|
||||
// Called when Spell Damage is being Dealt
|
||||
public virtual void ModifySpellDamageTaken(Unit target, Unit attacker, ref int damage, SpellInfo spellInfo) { }
|
||||
|
||||
// Called when an unit exits a vehicle
|
||||
public virtual void ModifyVehiclePassengerExitPos(Unit passenger, Vehicle vehicle, Position pos) { }
|
||||
}
|
||||
|
||||
public class GenericCreatureScript<AI> : CreatureScript where AI : CreatureAI
|
||||
|
||||
Reference in New Issue
Block a user