diff --git a/design/items.py b/design/items.py
index 9726704..068351d 100644
--- a/design/items.py
+++ b/design/items.py
@@ -3300,6 +3300,7 @@ weapons={
"explosion":20,
"skin":"glolipop",
"ability":"sugarrush",
+ "attr0": 0.25,
"damage_type":"physical",
"upgrade":{
"explosion":2,
@@ -3317,6 +3318,7 @@ weapons={
"skin":"ololipop",
"damage_type":"physical",
"ability":"sugarrush",
+ "attr0": 0.25,
"upgrade":{
"explosion":2,
},
@@ -3497,6 +3499,7 @@ weapons={
"skin":"candycanesword",
"damage_type":"physical",
"ability":"sugarrush",
+ "attr0": 0.25,
"upgrade":{
"range":-0.5,
},
diff --git a/js/html.js b/js/html.js
index 32cd3f0..155bbc4 100644
--- a/js/html.js
+++ b/js/html.js
@@ -3190,7 +3190,7 @@ function render_item(selector,args)
else if(item.ability=="sugarrush")
{
html+=bold_prop_line("Ability","Sugar Rush","#D64770");
- html+="
"+"Trigger a Sugar Rush on attack with 0.25% chance. Gain 240 Attack Speed for 10 seconds!
";
+ html+=""+"Trigger a Sugar Rush on attack with "+prop.attr0+"% chance. Gain 240 Attack Speed for 10 seconds!
";
}
else if(item.ability=="restore_mp")
{
diff --git a/node/server.js b/node/server.js
index 7fe3863..7aa9bd1 100644
--- a/node/server.js
+++ b/node/server.js
@@ -3476,7 +3476,7 @@ function complete_attack(attacker, target, info) {
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";
add_condition(attacker, "sugarrush");
disappearing_text(attacker.socket, attacker, "SUGAR RUSH!", { xy: 1, size: "huge", color: "sugar", nv: 1 }); //target.is_player&&"huge"||undefined