adding entertainer buff, not really working, only showing a symbol ... might be enough as placebo for now :D

This commit is contained in:
Groot
2016-05-26 01:33:41 +01:00
parent 676dab74ac
commit 89888264b5
@@ -1517,6 +1517,20 @@ public class terminal_character_builder extends script.base_script
public static final String[] CRAFTING_SUIT =
{
"Blix's Ultra Crafting Suit"
};
public static final String[] buffComponentKeys =
{
"kinetic",
"energy",
"action_cost_reduction",
"dodge"
};
public static final int[] buffComponentValues =
{
15,
15,
1,
2
};
public boolean checkConfigSetting(String configString) throws InterruptedException
{
@@ -6447,6 +6461,14 @@ public class terminal_character_builder extends script.base_script
sendSystemMessageTestingOnly(player, "Spec-Ops Pack Issued.");
break;
case 1:
obj_id bufferId = player;
float currentBuffTime = performance.inspireGetMaxDuration(player);
buff.applyBuff(player, "buildabuff_inspiration", 3600);
utils.setScriptVar(player, "performance.buildabuff.buffComponentKeys", buffComponentKeys);
utils.setScriptVar(player, "performance.buildabuff.buffComponentValues", buffComponentValues);
utils.setScriptVar(player, "performance.buildabuff.bufferId", bufferId);
buff.applyBuff((player), "me_buff_health_2", 7200);
buff.applyBuff((player), "me_buff_action_3", 7200);
buff.applyBuff((player), "me_buff_strength_3", 7200);