mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-14 12:04:21 +01:00
olist expanded, happyhour script vars and buildwalk update
This commit is contained in:
parent
b06cf00639
commit
d2b4faf1c9
9 changed files with 327 additions and 19 deletions
|
|
@ -632,6 +632,8 @@ do \
|
|||
#define GET_SKILL(ch, i) CHECK_PLAYER_SPECIAL((ch), ((ch)->player_specials->saved.skills[i]))
|
||||
/** Copy the current skill level i of ch to pct. */
|
||||
#define SET_SKILL(ch, i, pct) do { CHECK_PLAYER_SPECIAL((ch), (ch)->player_specials->saved.skills[i]) = pct; } while(0)
|
||||
/** The player's default sector type when buildwalking */
|
||||
#define GET_BUILDWALK_SECTOR(ch) CHECK_PLAYER_SPECIAL((ch), ((ch)->player_specials->buildwalk_sector))
|
||||
|
||||
/** Get obj worn in position i on ch. */
|
||||
#define GET_EQ(ch, i) ((ch)->equipment[i])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue