#[CLOSED]
1 messages · Page 1 of 1 (latest)
There are no api for spell immunity type and if you want to just fix tooltip write your own panorama script that modify it
If you want dynamically change spell immunity type for gameplay effects write your own bkb and don't rely on valve one (worse solution is ctrl+ ctrl+v ability for all cases that affect spell immunity type and swap them ingame)
You might try check GetModifierOverrideAbilitySpecial since valve silently sometimes add new kv that affected by that (not long ago they added manacost and cooldown), but i don't think they added spell immunity type
If you decide to go with custom bkb way for stun/rest effects immunity apply modifier with priority like 9999999 and state_stunned/silenced/etc = false
Thats not what i mean, apply modifier that override key values and check what valve pass for you to override. If valve don't pass spell immunity type nothing can be done related to that
Any unit that exists on map with that ability