Jump to content
Sign in to follow this  
TAS Servers

DELTA - Melee when Frozen Fix

Recommended Posts

[code]if (GoodDistance(EnemyX, EnemyY, absX, absY, 3) == true) {
inCombat = true;
lastCombat = System.currentTimeMillis();
if(EntangleDelay > 0 && !GoodDistance(EnemyX, EnemyY, absX, absY, 1)) {
return false;
}[/code]
Change this to
[code] if (GoodDistance(EnemyX, EnemyY, absX, absY, 1) == true) {
inCombat = true;
lastCombat = System.currentTimeMillis();
if(EntangleDelay > 0 && !GoodDistance(EnemyX, EnemyY, absX, absY, 1)) {
return false;
}[/code]
[B]What this does[/B]
In delta without this fix, if you froze someone and went within 3 spaces of them, it would auto attack even when frozen, but changing the '3' to a '1' fixes this because it will only auto-attack if they're within 1 square, and if they're not and the player is frozen, it will simply just not attack them. This helps to make player killing easier. Edited by Faab234
Use BBCode

Share this post


Link to post
Share on other sites
Sign in to follow this  

×