mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
[Client] Don't clear spells for dying actors
This commit is contained in:
parent
23d410f473
commit
7acf6865b9
@ -2057,7 +2057,18 @@ namespace MWMechanics
|
||||
// One case where we need this is to make sure bound items are removed upon death
|
||||
stats.modifyMagicEffects(MWMechanics::MagicEffects());
|
||||
stats.getActiveSpells().clear();
|
||||
stats.getSpells().clear();
|
||||
|
||||
/*
|
||||
Start of tes3mp change (major)
|
||||
|
||||
Don't clear spells for dying players and actors because it doesn't really make
|
||||
any sense
|
||||
*/
|
||||
//stats.getSpells().clear();
|
||||
/*
|
||||
End of tes3mp change (major)
|
||||
*/
|
||||
|
||||
// Make sure spell effects are removed
|
||||
purgeSpellEffects(stats.getActorId());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user