#41
|
|||
|
|||
Quote:
ah i also was wondering that since sometimes i got a msg about sense weakness and i was like wtf i don't have that skill tagged i thought it maybe was a viking ability or something but seeing this this is just a bad write up fix plz |
#42
|
|||
|
|||
It's an easy fix, but I just want to verify that I'm not misreading it first.
|
#43
|
||||
|
||||
I don't think I've been critted now that you mention. And I actually think we see the sense weakness text come up when we should have been critted but we aren't.
Just last night the AI cast DOOM on my wolves (ermahgerd attack the summons?!!) and when they were hit by the enemy they were not criticaled. I did see the sense weakness appear in the text, though. Does that help? |
#44
|
|||
|
|||
Quote:
|
#45
|
||||
|
||||
Oh dear. Double facepalm.
So how should we bug this one? Sense Weakness prevents critical hits from enemies? It's kind of a whopper if we are understanding this correctly. Edit: Attempt at an entry.
I'll just replace what I have in the thread now with this. Last edited by camelotcrusade; 10-31-2012 at 10:36 PM. Reason: Added bug text |
#46
|
||||
|
||||
Code:
iskrit = ( kritProbRnd < kritProb ) if iskrit then if receiver_human and not receiver_glot then kritProb = kritProb - skill_power("weakness_lore", 2) if kritProbRnd < kritProb then iskrit = true else iskrit = false is_weakness_lore = true end end end |
#47
|
||||
|
||||
Nice, Zechnophobe. I'll link to it once it's confirmed and Bhruic adds it to the summary. Too bad getting crit isn't easy to test. You almost need to keep a save near a hero who casts doom.
|
#48
|
|||
|
|||
Quote:
Your code does mostly fix it, but I already posted a different fix in the main post. Both do roughly the same thing but different ways. The main point is that it should be working correctly now. |
#49
|
||||
|
||||
Quote:
|
#50
|
|||
|
|||
That'd involve less steps, certainly. I think mine's slightly more elegant in that it requires less steps if you don't have Sense Weakness. Of course, I might be biased.
|
|
|