| 57 | } |
| 58 | |
| 59 | void GiftBoxSkill::applyEffect() |
| 60 | { |
| 61 | if(getSeat() == nullptr) |
| 62 | { |
| 63 | OD_LOG_ERR("null Seat for giftbox=" + getName() + " pos=" + Helper::toString(getPosition())); |
| 64 | return; |
| 65 | } |
| 66 | |
| 67 | getSeat()->addSkill(mSkillType); |
| 68 | } |
no test coverage detected