mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-02 07:21:07 +00:00
Copy paste mistake (oops)
This commit is contained in:
parent
7474e87edc
commit
aa84ce3f0d
@ -24,8 +24,6 @@ namespace MWMechanics
|
|||||||
int mId;
|
int mId;
|
||||||
int mArg; // skill or ability
|
int mArg; // skill or ability
|
||||||
|
|
||||||
// TODO: Add caster here for Absorb effects?
|
|
||||||
|
|
||||||
EffectKey();
|
EffectKey();
|
||||||
|
|
||||||
EffectKey (int id, int arg = -1) : mId (id), mArg (arg) {}
|
EffectKey (int id, int arg = -1) : mId (id), mArg (arg) {}
|
||||||
|
@ -132,8 +132,6 @@ short MagicEffect::getResistanceEffect(short effect)
|
|||||||
short MagicEffect::getWeaknessEffect(short effect)
|
short MagicEffect::getWeaknessEffect(short effect)
|
||||||
{
|
{
|
||||||
std::map<short, short> effects;
|
std::map<short, short> effects;
|
||||||
effects[DisintegrateArmor] = Sanctuary;
|
|
||||||
effects[DisintegrateWeapon] = Sanctuary;
|
|
||||||
|
|
||||||
for (int i=0; i<5; ++i)
|
for (int i=0; i<5; ++i)
|
||||||
effects[DrainAttribute+i] = WeaknessToMagicka;
|
effects[DrainAttribute+i] = WeaknessToMagicka;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user