MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / applyEffect

Method applyEffect

source/giftboxes/GiftBoxSkill.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void 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}

Callers 1

Calls 2

addSkillMethod · 0.80
toStringFunction · 0.50

Tested by

no test coverage detected