Skip to content

Commit eb956cb

Browse files
author
WALL OF JUSTICE
committed
* polymorph preserves charmed status
1 parent c238b00 commit eb956cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/magic/magic.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1968,6 +1968,7 @@ Entity* spellEffectPolymorph(Entity* target, Entity* parent, bool fromMagicSpell
19681968
summonedStats->RANDOM_GOLD = 0;
19691969
summonedStats->MISC_FLAGS[STAT_FLAG_MONSTER_DISABLE_HC_SCALING] = 1;
19701970
summonedStats->leader_uid = targetStats->leader_uid;
1971+
summonedStats->monsterIsCharmed = targetStats->monsterIsCharmed;
19711972
if ( summonedStats->leader_uid != 0 && summonedStats->type != SHADOW )
19721973
{
19731974
Entity* leader = uidToEntity(summonedStats->leader_uid);

0 commit comments

Comments
 (0)