1
This commit is contained in:
parent
488f7eada2
commit
bed1c91d66
@ -494,7 +494,7 @@ void Ability::GMDelBaseAttr(int type, int attr_id, int idx)
|
|||||||
AttrAbs,
|
AttrAbs,
|
||||||
entry);
|
entry);
|
||||||
list_del_init(&e->entry);
|
list_del_init(&e->entry);
|
||||||
delete e;
|
e->holder = nullptr;
|
||||||
if (idx > -1) {
|
if (idx > -1) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -513,7 +513,7 @@ void Ability::GMDelBaseAttr(int type, int attr_id, int idx)
|
|||||||
AttrRate,
|
AttrRate,
|
||||||
entry);
|
entry);
|
||||||
list_del_init(&e->entry);
|
list_del_init(&e->entry);
|
||||||
delete e;
|
e->holder = nullptr;
|
||||||
if (idx > -1) {
|
if (idx > -1) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -563,7 +563,7 @@ void Ability::GMDelGrowAttr(int type, int attr_id, int idx)
|
|||||||
AttrAddition,
|
AttrAddition,
|
||||||
entry);
|
entry);
|
||||||
list_del_init(&e->entry);
|
list_del_init(&e->entry);
|
||||||
delete e;
|
e->holder = nullptr;
|
||||||
if (idx > -1) {
|
if (idx > -1) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -582,7 +582,7 @@ void Ability::GMDelGrowAttr(int type, int attr_id, int idx)
|
|||||||
AttrRuduce,
|
AttrRuduce,
|
||||||
entry);
|
entry);
|
||||||
list_del_init(&e->entry);
|
list_del_init(&e->entry);
|
||||||
delete e;
|
e->holder = nullptr;
|
||||||
if (idx > -1) {
|
if (idx > -1) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -603,7 +603,7 @@ void Ability::GMDelGrowAttr(int type, int attr_id, int idx)
|
|||||||
AttrAddition,
|
AttrAddition,
|
||||||
entry);
|
entry);
|
||||||
list_del_init(&e->entry);
|
list_del_init(&e->entry);
|
||||||
delete e;
|
e->holder = nullptr;
|
||||||
if (idx > -1) {
|
if (idx > -1) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -622,7 +622,7 @@ void Ability::GMDelGrowAttr(int type, int attr_id, int idx)
|
|||||||
AttrRuduce,
|
AttrRuduce,
|
||||||
entry);
|
entry);
|
||||||
list_del_init(&e->entry);
|
list_del_init(&e->entry);
|
||||||
delete e;
|
e->holder = nullptr;
|
||||||
if (idx > -1) {
|
if (idx > -1) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user