EvilHack
EvilHack copied to clipboard
Ogresmasher knocks back small monsters, the smaller the farther.
This introduces code to let weapons knock back monsters a fixed distance or based on their size. It is only used by Ogresmasher. Ogresmasher will knock back tiny monsters 3 squares, small monsters 2, and medium monsters 1 square. There is no collateral effect when the knockback is blocked. Code in uhitm rather than artifact_hit to make it accessible for other potential uses. There is NO comparable code in mhitu for small player races so this is currently just player-to-monster.
This is a really cool idea, I like it. Couple things:
- The knockback shouldn't happen with every single hit, but randomly, say every !rn2(5) or some other variable.
- This really needs to apply across the board (player vs monster, monster vs player, monster vs monster) just like other artifact special effects do.
I agree with both -- will revisit with another push. Thanks for looking!