diff --git a/berobot_dmg_handler.sp b/berobot_dmg_handler.sp index b1b0d713..fb327da5 100644 --- a/berobot_dmg_handler.sp +++ b/berobot_dmg_handler.sp @@ -1489,6 +1489,13 @@ public Action Event_post_inventory_application(Event event, const char[] name, b if (IsSunOnAStick(Weapon3)) { + // "TF_WEAPON_SPELLBOOK" + // { + // "itemindex" "5605" + // "quality" "0" + // "level" "1" + // } + CreateRoboWeapon(client, "tf_weapon_spellbook", 5605, 0, 1, 4, 0); TF2CustAttr_SetString(client, "Spell-Caster", "Spell=0 Cooldown=40.0"); // TF2_RegeneratePlayer(client); Format(chat_display, sizeof(chat_display), "%s\n{teamcolor}Sun-on-a-Stick:{orange} Fire ball spell",chat_display, MoreIsMore(stat1), stat2); diff --git a/cfg/robots/paid_damage_flames_pyro_aero.cfg b/cfg/robots/paid_damage_flames_pyro_aero.cfg index fda60af7..3014dcf3 100644 --- a/cfg/robots/paid_damage_flames_pyro_aero.cfg +++ b/cfg/robots/paid_damage_flames_pyro_aero.cfg @@ -57,7 +57,8 @@ "flame size bonus" "1.6" "flame_speed" "3600.0" "airblast cost increased" "5.25" - + "single wep deploy time decreased" "0.01" + "airblast_give_teammate_speed_boost" "5.0" } } @@ -74,8 +75,8 @@ "dmg penalty vs players" "1.25" "dmg penalty vs buildings" "0.5" "fire rate bonus" "0.75" - "clip size penalty" "1.0" - "deploy time decreased" "0.7" + "clip size penalty" "1.7" + "single wep deploy time decreased" "0.01" "weapon spread bonus" "0.75" } "custom_attributes_weapon" diff --git a/cfg/robots/paid_damage_rockets_soldier_gunslinger.cfg b/cfg/robots/paid_damage_rockets_soldier_gunslinger.cfg index a691befe..558d4b29 100644 --- a/cfg/robots/paid_damage_rockets_soldier_gunslinger.cfg +++ b/cfg/robots/paid_damage_rockets_soldier_gunslinger.cfg @@ -2,8 +2,8 @@ { "model" "models/bots/soldier_boss/bot_soldier_boss.mdl" "class" "Soldier" - "shortdescription" "Instant Weapon Switch" - "name" "Cloaker" + "shortdescription" "Instant Weapon Switch, Stock Loadout" + "name" "Gunslinger" "deathtip" "This robot crazy yo" "role" "Damage" "subclass" "Rockets" @@ -28,10 +28,6 @@ "cancel falling damage" "1.0" "rage giving scale" "0.75" } - "custom_attributes_player" - { - "start-with-charge" "amount=100.0" - } "remove_weapon_slots" { "slot" "0" @@ -39,68 +35,72 @@ "slot" "2" } - "weapons" - { - "tf_weapon_rocketlauncher" - { - "itemindex" "205" - "quality" "6" - "level" "1" - "slot" "2" - "warpaint_id" "215" - "attributes" + "weapons" + { + "tf_weapon_rocketlauncher" { - "maxammo primary increased" "2.5" - "killstreak tier" "1.0" - "clip size upgrade atomic" "5.0" - "fire rate bonus" "0.7" - "faster reload rate" "2.0" - "dmg penalty vs buildings" "0.5" + "itemindex" "205" + "quality" "6" + "level" "1" + "slot" "2" + // "warpaint_id" "413" + "warpaint_id" "120" + "attributes" + { + "maxammo primary increased" "2.5" + "killstreak tier" "1.0" + "clip size upgrade atomic" "6.0" + "fire rate bonus" "0.7" + "faster reload rate" "2.0" + "dmg penalty vs buildings" "0.5" + "single wep deploy time decreased" "0.01" + } + "custom_attributes_weapon" + { + "reload full clip at once" "1.0" + } } - "custom_attributes_weapon" + "tf_weapon_shotgun_soldier" { - "reload full clip at once" "1.0" - } - } - "tf_weapon_buff_item" - { - "itemindex" "226" + "itemindex" "199" "quality" "6" "level" "1" "slot" "2" - "skin" "0" + "warpaint_id" "120" "attributes" { - "increase buff duration" "2.5" - } - "custom_attributes_weapon" - { - "custom buff type" "mm-cloak" + "faster reload rate" "0.4" + "clip size bonus" "1.7" + "weapon spread bonus" "0.75" + "dmg penalty vs players" "1.1" + "fire rate bonus" "0.7" + "dmg penalty vs buildings" "0.35" + "single wep deploy time decreased" "0.01" } } - } - "cosmetics" - { - "Close Quarters Cover" - { - "itemindex" "31378" - "paint" "A Distinctive Lack of Hue" - "style" "3.0" - "scale" "1.0" - } - "Close Quarters Cover" - { - "itemindex" "31378" - "paint" "Ye Olde Rustic Colour" - "style" "2.0" - "scale" "1.0" } - "Dead Of Night" + "cosmetics" { - "itemindex" "30309" - "paint" "Ye Olde Rustic Colour" - "style" "1.0" - "scale" "1.0" + "SloPoke" + { + "itemindex" "30314" + "paint" "Australium Gold" + "style" "3.0" + "scale" "0.75" + } + "Trench Warfarer" + { + "itemindex" "31418" + "paint" "Australium Gold" + "style" "2.0" + "scale" "1.0" + } + "SparkPlug" + { + "itemindex" "30033" + "paint" "Australium Gold" + "style" "1.0" + "scale" "0.75" + } } - } } \ No newline at end of file diff --git a/mm_cast_spell.sp b/mm_cast_spell.sp index 5b405158..06bf1259 100644 --- a/mm_cast_spell.sp +++ b/mm_cast_spell.sp @@ -146,7 +146,7 @@ public void Recharge_Spell(int client) { int ent = FindSpellbook(client); - if (ent) { + if (ent != -1) { SetEntProp(ent, Prop_Send, "m_iSpellCharges", g_stat_Charges[client]); SetEntProp(ent, Prop_Send, "m_iSelectedSpellIndex", index); g_book[client] = ent; @@ -195,7 +195,7 @@ void DrawHUD(int client) } Format(sHUDText, sizeof(sHUDText), "%s: %i ", SpellText, iCountDown); - + // PrintToChatAll("Countdown %i for %N", iCountDown, client); if(iCountDown <= 0) { Format(sHUDText, sizeof(sHUDText), "%s: Ready!\nActivate With\nAction Slot!", SpellText); @@ -229,10 +229,10 @@ void DrawHUD(int client) // g_Recharge[client] = GetEngineTime() + g_RechargeCooldown; // isready[client] = false; // } - if (iCountDown <= 0 && IsPlayerAlive(client) && isready[client] == true) - { + // if (iCountDown <= 0 && IsPlayerAlive(client) && isready[client] == true) + // { - } + // } } public bool IsKritzed(int client){ diff --git a/paid_sentry_buster_mvm.sp b/paid_sentry_buster_mvm.sp index 4f671b22..34392f00 100644 --- a/paid_sentry_buster_mvm.sp +++ b/paid_sentry_buster_mvm.sp @@ -191,7 +191,7 @@ stock void GiveGiantDemoKnight(int client) SetEntPropFloat(Weapon1, Prop_Send, "m_flModelScale", 0.01); } - TF2CustAttr_SetString(client, "Sentry Buster", "damage=2500.0 radius=250.0 lineofsight=1 timer=1.25"); + TF2CustAttr_SetString(client, "Sentry Buster", "damage=25000.0 radius=500.0 lineofsight=1 timer=1.25"); }