Commit graph

3 commits

Author SHA1 Message Date
strattond
faf7b4672a Fix two events. Update JSDoc for the scripts 2025-08-12 11:31:41 +10:00
strattond
c9bb1cf05b Start plugging in TS checks 2025-08-06 19:21:47 +10:00
Xoduz
df2b44be67 Mix script fixes and additions
Fixed a bug where adding or removing friends for a pet would not properly inform the involved players
Traps in dungeons will now only trigger for player characters, and will ignore all NPCs
Fixed an issue with archery butte script (js/item/archerybutte.js) where chance of hitting a bullseye was not calculated correctly
Fixed reagent requirements for inscribing Explosion spell (thanks Azzerhoden Razeri!)
Removed redundant VALUE tags from JewlerShopping shoplist (thanks Azzerhoden Razeri!)
Added NPC definitions for savage shaman, savage warrior (male and female) and savage rider in dfndata/npc/savages.dfn.
	Added special AI scripts for savages and savage shamans, to handle their special abilities
	Added tribal paint consumable item (dfndata/items/misc/consumables.dfn)
	Added ability to cook tribal paint via flour and tribal berries (js/skill/cooking/flour.js)
	Added some helper scripts for magic:
		js/magic/helper/check_resist.js (6000)				// Test target's resist versus caster and spell circle
		js/magic/helper/calc_final_spell_damage.js (6001)	// Calculate spell damage from provided base damage
	Added a timer-related script that can be used to keep track of long-term timers (up to 49 days) on objects, and which will remove itself from the object when there are no more active timers left. Currently used for tribal paint:
		js/server/timer/long_term_timers.js (3)
2022-10-20 23:15:25 +08:00