Quote:
Originally Posted by DeathsSilkyMist
[You must be logged in to view images. Log in or Register.]
That is incorrect, based on how p99 currently handles bash. A bash has a spell interrupt component, AND a stun component. This much is fact. You can see this by getting bashed on a non-ogre. If the bash does not stun you, you will sometimes still finish casting the spell. This means there are two separate calculations. One for stuns, and one for spell interrupts. If you wanted to build the bash function as simple and generic as possible, the logic would look like this:
1. Calculate if a stun occurs. If a stun occurs, end the function.
2. If a stun has not occurred, calculated the interrupt chance.
This would be the default way to program bash in a generic manner. It keeps your options open in case some mechanics change in the future.
Your logic would require one more step, which means bash was intentionally designed to make Stun Immunity in general less effective:
1. Calculate if a stun occurs. If a stun occurs, and it is not prevented by a special mechanic, end the function.
2. If a stun occurs, but it is prevented by a special mechanic, set the interrupt chance to 100% and end the function.
3. If a stun has not occurred, calculated the interrupt chance.
Unless there is evidence to suggest Stun Immunity was specifically designed to prevent the stun, and not the spell interrupt, you would assume the function is built in the simpler, more generic way.
|
Ya, I don't know what you are going on about here. You mentioned how something wasn't "logical" and i showed you it made logical sense if you wanted to minimize the server's resources.
I could go even further and offer why it is illogical for a roleplaying game to operate in this manner too.
The idea of a bash is some sort of hard blow focused on knocking you off balance, like a trip or shove or something along those lines. You have 3 outcomes of a successfully landed bash:
The best outcome you don't get stunned or interrupted. RPG wise you got hit the softest.
The second worst outcome you get your spell immediately interrupted. RPG wise you got hit the second hardest.
The worst outcome you spell is immediately interrupted and you are stunned for 1.5 seconds. RPG wise you got hit the hardest possible. Similar to a "critical hit".
"Gee, I'm glad that guy hit me so damn hard. If only the fool would have hit me much softer would it have interrupted my spell." -- not logical RPG dialogue
So it's pretty piss poor logic from an RPG perspective as well server performance perspective.