Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TurningWheel/Barony
/ getTriggerType
Method
getTriggerType
src/entity.hpp:1712–1715 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1710
return ((skill & 0xFF0) >> 4);
1711
}
1712
int getTriggerType(Sint32 skill)
1713
{
1714
return ((skill & 0xF000) >> 12);
1715
}
1716
void setScriptType(Sint32& skill, int setValue)
1717
{
1718
skill &= 0xFFFFFFF0;
Callers
1
actTextSource
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected