summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/README.md
blob: 187c7c0475be0f6eb02b1bf23e4f48fb83050966 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# To-do
- [X] finish the missing spells and push them so they can be tested
- [ ] Deal with the removal of the following spells from magic to NPCs or Commands
   - [X] Ched
      - [X] merge-concentration-potions
   - [ ] Auldsbel
      - [ ] make-short-tanktop
      - [ ] make-tanktop
      - [ ] make-shirt
      - [ ] make-concentration-potion
   - [X] Wyara
   - [ ] sense-spouse

---
---
to see other things that needs to be done do a grep for `TODO`, `FIXME` in this folder.
To see a list of things that needs further thoughts do a grep for `XXX`.

---
---
- [ ] check the new builtins and make sure they work as intended
 - [ ] `puppet`
    - [ ] check what happens when making a puppet whose name already exist (maybe it replaces?)
 - [ ] `destroy`
 - [ ] `registercmd`
    - [ ] check what happens when registering a command that was already registered
 - [ ] `target`
 - [ ] `get`
 - [ ] the new `set`
 - [ ] `min`
 - [ ] `max`
 - [ ] `pow`
 - [ ] `sqrt`
 - [ ] `cbrt`
 - [ ] `elttype`
 - [ ] `eltlvl`
 - [ ] `injure`
 - [ ] `elif`
 - [ ] `else`
 - [ ] `getnpcid`
 - [ ] `overrideattack`
 - [ ] `summon`
 - [ ] `addnpctimer`
 - [ ] `explode`
 - [ ] `foreach`
 - [ ] modified `areatimer`
 - [ ] `aggravate`
 - [ ] `getdir`
 - [ ] `distance`
 - [ ] `if_then_else`

---
- [ ] test the spells
 - [ ] test with no target
 - [ ] test with a npc target
    - [ ] random npc not part of any quest
    - [ ] injured mouboo
       - [ ] also test on a **player** with the name `Mouboo` or `mouboo`
    - [ ] druid tree
 - [ ] test with a mob target
    - [ ] mob with clear path (walkable)
    - [ ] mob with no clear path (unwalkable, blocked by collision)
    - [ ] mob out of attack range
 - [ ] test with a player target
    - [ ] both the caster and the target have pvp disabled
    - [ ] both the caster and the target have pvp enabled
    - [ ] the caster has pvp enabled and the target has pvp disabled
    - [ ] the caster has pvp disabled and the target has pvp enabled
 - [ ] test with the spouse as target

---
- [ ] Once everything is done, remove this file