[Core]Fix temporary enchantment duration
This commit is contained in:
parent
e89cf4bc44
commit
504a7c3b88
@ -4204,7 +4204,7 @@ void Spell::EffectEnchantHeldItem(SpellEffectIndex eff_idx)
|
|||||||
{ return; }
|
{ return; }
|
||||||
|
|
||||||
// Apply the temporary enchantment
|
// Apply the temporary enchantment
|
||||||
item->SetEnchantment(slot, enchant_id, duration * IN_MILLISECONDS, 0);
|
item->SetEnchantment(slot, enchant_id, duration, 0);
|
||||||
item_owner->ApplyEnchantment(item, slot, true);
|
item_owner->ApplyEnchantment(item, slot, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user