Quote:
if(!spells[spell_id].uninterruptable) {
LogSpells("Channel chance: [{}]", channelchance);
for(int channel_checks = attacked_count; channel_checks > 0; channel_checks--) {
int interruptchance = zone->random.Real(0, 391);
LogSpells("Interrupt roll: [{}]", interruptchance);
if(interruptchance > channelchance && interruptchance > 39) {
LogSpells("Casting of [{}] canceled: interrupted", spell_id);
InterruptSpell();
return;
}
}
}
|
Can't wait bros. You'd have to see the larger diff to really appreciate it.