project-topaz / topaz

Server emulator for FFXI
Other
159 stars 224 forks source link

Need util for applying temporary immunity to a single weapon damage type #589

Open 59blargedy opened 4 years ago

59blargedy commented 4 years ago

I have:

reference: https://github.com/project-topaz/topaz/pull/561#discussion_r420708141 this could also affect mobs like Jailer of Temperance, Gladiatoral Weapons in Die By the Sword BCNM, wamouracampa, to name a few.

TeoTwawki commented 4 years ago

yeah the current way we could do this in script result sin a lot of repeated messy code..Could def use utils function to clean it up and bake in handling of related things.

Edit: if anyone doubts the pain of doing it with current methods, I have a custom mob that rotates weaknesses and winds up many many lines long you can witness and then regret looking at ^^; table/array inputs for what resistances to manipulate would be super.