(spellName string)
| 429 | } |
| 430 | |
| 431 | func (c *Character) UnLearnSpell(spellName string) bool { |
| 432 | if _, ok := c.SpellBook[spellName]; !ok { |
| 433 | return false |
| 434 | } |
| 435 | delete(c.SpellBook, spellName) |
| 436 | return true |
| 437 | } |
| 438 | |
| 439 | func (c *Character) GrantXP(xp int) (actualXP int, xpScale int) { |
| 440 |