Commit 8842196
authored
fix(npc): Cipfried and Dallheim don't cure burning (#4096)
Update Cipfried and Dallheim so their free healing dialogue also handles players affected by CONDITION_FIRE.
Root cause:
- Both NPCs already offered free healing but only checked CONDITION_POISON.
- Burning players could request healing and still receive the normal healthy response while remaining on fire.
- Other healer NPCs such as Quentin, Alia, Amanda, Azalea, and Cedrik already handle fire conditions.
Main changes:
- Add a heal branch for CONDITION_FIRE to Cipfried.
- Add the same fire-healing behavior to Dallheim.
- Check the fire condition before the poison branch.
- Restore player health up to 65 when required.
- Remove CONDITION_FIRE.
- Show CONST_ME_MAGIC_GREEN after healing.
- Preserve the existing poison-healing behavior unchanged.
Behavior:
- Burning players now receive the appropriate healing response.
- Fire is removed when requesting healing from either NPC.
- Players below 65 health are restored up to 65 health.
- Poison treatment continues to work as before.
This brings Cipfried and Dallheim in line with the existing healer NPC behavior and fixes a noticeable issue for players in Rookgaard and starter areas.1 parent 2ed962a commit 8842196
2 files changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
136 | 146 | | |
137 | 147 | | |
138 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
197 | 207 | | |
198 | 208 | | |
199 | 209 | | |
| |||
0 commit comments