mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
Add proc chance capabilities to Sugarrush
This commit is contained in:
+1
-1
@@ -3476,7 +3476,7 @@ function complete_attack(attacker, target, info) {
|
|||||||
add_condition(target, c);
|
add_condition(target, c);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (info.procs && attacker.a.sugarrush && Math.random() < 0.0025) {
|
if (info.procs && attacker.a.sugarrush && Math.random() < (attacker.a.sugarrush.attr0 / 100)) {
|
||||||
def.trigger = "sugarrush";
|
def.trigger = "sugarrush";
|
||||||
add_condition(attacker, "sugarrush");
|
add_condition(attacker, "sugarrush");
|
||||||
disappearing_text(attacker.socket, attacker, "SUGAR RUSH!", { xy: 1, size: "huge", color: "sugar", nv: 1 }); //target.is_player&&"huge"||undefined
|
disappearing_text(attacker.socket, attacker, "SUGAR RUSH!", { xy: 1, size: "huge", color: "sugar", nv: 1 }); //target.is_player&&"huge"||undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user