cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
696 stars 271 forks source link

spell type "targeted_polymorph" #5560

Open pherixu opened 1 month ago

pherixu commented 1 month ago

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

this spell would allow for some interesting options for multi-phase boss monsters or certain monsters only being "killable" by polymorphing.

Precisely the idea is:

spell target specifies a monster ID or IDs spell changes the targeted monster into a different monster specified elsewhere in the spell in cdda the spell only works with turning monsters into other monsters, perhaps this could be expanded to allow for furniture or terrains or traps?

Additional context

the following is just some code copy pasted from my old CDDA mod, not sure if that helps you figure out how to port it or what but here:

{ "id": "archaeo_poly", "type": "SPELL", "name": "Strip Archaeo-shell", "description": "Strip away the beast's runic shell.", "valid_targets": [ "hostile" ], "flags": [ "SPAWN_WITH_DEATH_DROPS", "VERBAL", "SOMATIC", "NO_LEGS", "NO_PROJECTILE" ], "effect": "targeted_polymorph", "effect_str": "mon_archaeodemon2", "shape": "blast", "energy_source": "HP", "targeted_monster_ids": [ "mon_archaeodemon" ], "base_casting_time": 100, "base_energy_cost": 40, "difficulty": 1, "max_level": 10, "min_damage": 300, "max_damage": 400, "damage_increment": 5, "damage_type": "pure", "min_range": 6, "max_range": 30, "range_increment": 1.5 },

Ignaramico commented 2 weeks ago

like the dog/thing stuff?. certainly would have helped axema with his shapeshifter mob in secreonom xD