Messing around with the frog.

This commit is contained in:
swg
2016-02-05 19:41:42 +01:00
parent f2845663b1
commit 07adc9685b
2 changed files with 83 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ if [[ $response =~ ^(yes|y| ) ]]; then
read -p "Do you wanna use multicore scripts or the safe option? (multi/safe) " response
response=${response,,}
if [[ $response =~ ^(multi|multithread| ) ]]; then
if [[ $response =~ ^(multi|m| ) ]]; then
$basedir/utils/mocha/prepare_all_scripts_multi.sh $basedir/dsrc/sku.0/sys.server/compiled/game/script
$basedir/utils/build_java_multi.sh
$basedir/utils/build_miff.sh

View File

@@ -38,6 +38,9 @@ include library.stealth;
include library.sui;
include library.utils;
include library.weapons;
include library.performance;
/*
Old Republic one/two handed lightsaber
@@ -866,8 +869,10 @@ const string[] MISC_OPTIONS = {
"Seeker Droid",
"Master Crafted EE3 Schematic",
"Master Crafted DC-15 Schematic",
"Vet 30k Resource Deed"
"Vet 30k Resource Deed",
"Biological Focus Crystal",
"Synapse Focus Crystal",
"Grant Buffs"
};
const string[] MEDICINE_OPTIONS = {
"High Charge Stimpack-A",
@@ -970,6 +975,8 @@ const string[] ROBE_OPTIONS = {
"(80)Dark Jedi Knight Robe",
"(80)Jedi Master Cloak Brown",
"(80)Jedi Master Cloak Black",
"(80)Elder Jedi Arbiter Robe",
"(80)Elder Jedi Oppressor Robe",
"Reset Jedi Statue Slots for Master Jedi Cloaks Collection"
};
const string ARMOR_SET_PREFIX = "object/tangible/wearables/armor/";
@@ -1504,6 +1511,18 @@ const string[] CRAFTING_SUIT = {
"Blix's Ultra Crafting Suit"
};
const string[] buffComponentKeys = {
"kinetic",
"energy",
"action_cost_reduction",
"dodge"
};
const int[] buffComponentValues = {
15, 15, 1, 2
};
/***** TRIGGERS ********************************************************/
boolean checkConfigSetting(string configString)
@@ -7382,6 +7401,54 @@ messageHandler handleMiscSelect()
case 10: // resource kit
createObject("object/tangible/veteran_reward/resource.iff", pInv, "");
sendSystemMessageTestingOnly(player, "Resource Kit Issued");
break;
case 11: // Bio Focus Crystal
static_item.createNewItemFunction("item_force_crystal_04_01", pInv);
sendSystemMessageTestingOnly(player, "Biological Focus Crystal Issued");
break;
case 12: // Synapse Focus Crystal
static_item.createNewItemFunction("item_force_crystal_04_02", pInv);
sendSystemMessageTestingOnly(player, "Synapse Focus Crystal Issued");
break;
case 13:
float currentBuffTime = performance.inspireGetMaxDuration(player);
buff.applyBuff(player, "buildabuff_inspiration", 7200);
utils.setScriptVar(player, "performance.buildabuff.buffComponentKeys", buffComponentKeys);
utils.setScriptVar(player, "performance.buildabuff.buffComponentValues", buffComponentValues);
utils.setScriptVar(player, "performance.buildabuff.player", player);
buff.applyBuff((player), "me_buff_health_2", 7200);
buff.applyBuff((player), "me_buff_action_3", 7200);
buff.applyBuff((player), "me_buff_strength_3", 7200);
buff.applyBuff((player), "me_buff_agility_3", 7200);
buff.applyBuff((player), "me_buff_precision_3", 7200);
buff.applyBuff((player), "me_buff_melee_gb_1", 7200);
buff.applyBuff((player), "me_buff_ranged_gb_1", 7200);
buff.applyBuff((player), "of_buff_def_9", 7200);
buff.applyBuff((player), "of_focus_fire_6", 7200);
buff.applyBuff((player), "of_tactical_drop_6", 7200);
buff.applyBuff((player), "aurilian_crystal_large", 7200);
buff.applyBuff((player), "sm_smuggled", 7200);
buff.applyBuff((player), "tusken_bane", 7200);
buff.applyBuff((player), "vr_familiar_defense_8", 7200);
buff.applyBuff((player), "towPoisonResistAbsorb_3", 7200);
buff.applyBuff((player), "drink_flameout", 7200);
buff.applyBuff((player), "banner_buff_commando", 7200);
buff.applyBuff((player), "banner_buff_smuggler", 7200);
buff.applyBuff((player), "banner_buff_medic", 7200);
buff.applyBuff((player), "banner_buff_officer", 7200);
buff.applyBuff((player), "banner_buff_spy", 7200);
buff.applyBuff((player), "banner_buff_bounty_hunter", 7200);
buff.applyBuff((player), "banner_buff_force_sensitive", 7200);
buff.applyBuff((player), "muon_gold", 7200);
buff.applyBuff((player), "tcg_series1_tusken_talisman", 7200);
buff.applyBuff((player), "event_ewok_drink", 7200);
buff.applyBuff((player), "event_ewok_berry", 7200);
buff.applyBuff((player), "forceCrystalHealth", 7200);
buff.applyBuff((player), "forceCrystalForce", 7200);
buff.applyBuff((player), "frogBuff", 7200);
sendSystemMessageTestingOnly(player, "Buffs granted.");
default:
cleanScriptVars(player);
return SCRIPT_CONTINUE;
@@ -9690,12 +9757,24 @@ messageHandler handleRobeSelect()
}
break;
case 8:
{
static_item.createNewItemFunction("item_jedi_robe_light_04_04", pInv);
sendSystemMessageTestingOnly(player, "Elder Jedi Arbiter Robe Issued!");
}
break;
case 9:
{
static_item.createNewItemFunction("item_jedi_robe_dark_04_04", pInv);
sendSystemMessageTestingOnly(player, "Elder Jedi Oppressor Robe Issued!");
}
break;
case 10:
{
static_item.createNewItemFunction("item_jedi_robe_06_02", pInv);
sendSystemMessageTestingOnly(player, "Jedi Master Cloak Issued!");
}
break;
case 9:
case 11:
{
if ( hasCompletedCollectionSlot(player, "jedi_robe_01_07") )
{