Suggestion: Make mobs protected by a level 2 rune immune to elec sword's explosive damage #5329
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#5329
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#5328 is mainly why im making this after my freak accident, but imo it should be made that explosive damage from an electrumese sword should be nullified with a level 2 rune
i'm not certain it's possible to differentiate explosion damage from the electrumese sword vs. other explosions
maybe we need to make explosive damage "owned" by whoever sends it? your-land/administration#163
the bullets already track that info and pass it to the explosion, so the pvp stuff can make it behave by those rules... that's an idea.
i tweaked our TNT fork so that
obj:punch
call instead of the object itself. note there's still a race condition where the player shoots a bullet and then logs off, the animal will still "punch itself"...however, as mobs_redo implements an
on_blast
callback already, we're going to have to override that for every tamable mob...overriding on_blast:
40e0490937
hm, that didn't work....
actually protection isn't working at all on my local server, i need to dig into that more. not today though, not sure when i'll get back to this.
turns out protection runes only work if the mob is also in a protection area that the player doesn't have access to. explosions are still killing them though...
figured out the main issue - the protection code wasn't executing due to an error.
mobs with protection and in protection areas are now protected against damage from explosions that originate from a player.
ae3663c2e2
QA
I can still explode my own cows, but now those of someone else.
this is live