A
Aravis
Guest
Yup, after a bit of hacking I managed to find Mythics combat code (melee only I'm afraid). I've put it in pseudo-code for the non-programmers among us;
IF XPToNextLevel > 80% THEN
....IF randomnumber => 1 AND randomnumber <= 49 THEN
........PRINT "You miss!"
....ELSEIF randomnumber => 50 AND randomnumber <= 99 THEN
........PRINT "You fumble!"
....ELSE
........CALL BlimeyHeManagedToHitItMakeSureMobHitsHimBackForTwiceTheDamageHeDoes
....END IF
ELSE
....CALL NormalCombatCode
END IF
The Block/parry/miss code is similar;
IF XPToNextLevel > 80% THEN
....IF randomnumber => 1 AND randomnumber <= 49 THEN
........CALL CriticalHitOnPlayer
....ELSEIF randomnumber => 50 AND randomnumber <= 99 THEN
........CALL SuperCriticalHitOnPlayer
....ELSE
........CALL LinkDeadDuringFight
....END IF
ELSE
....CALL NormalCombatCode
END IF
IF XPToNextLevel > 80% THEN
....IF randomnumber => 1 AND randomnumber <= 49 THEN
........PRINT "You miss!"
....ELSEIF randomnumber => 50 AND randomnumber <= 99 THEN
........PRINT "You fumble!"
....ELSE
........CALL BlimeyHeManagedToHitItMakeSureMobHitsHimBackForTwiceTheDamageHeDoes
....END IF
ELSE
....CALL NormalCombatCode
END IF
The Block/parry/miss code is similar;
IF XPToNextLevel > 80% THEN
....IF randomnumber => 1 AND randomnumber <= 49 THEN
........CALL CriticalHitOnPlayer
....ELSEIF randomnumber => 50 AND randomnumber <= 99 THEN
........CALL SuperCriticalHitOnPlayer
....ELSE
........CALL LinkDeadDuringFight
....END IF
ELSE
....CALL NormalCombatCode
END IF