mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/GO: Remove go_field_repair_bot_74A
Replaced by SAI in c05a4189e2
This commit is contained in:
@@ -99,10 +99,12 @@ void RandomMovementGenerator<Creature>::_setRandomLocation(Creature* creature)
|
||||
if (is_air_ok)
|
||||
i_nextMoveTime.Reset(0);
|
||||
else
|
||||
{
|
||||
if (roll_chance_i(50))
|
||||
i_nextMoveTime.Reset(urand(5000, 10000));
|
||||
else
|
||||
i_nextMoveTime.Reset(urand(50, 400));
|
||||
}
|
||||
|
||||
creature->AddUnitState(UNIT_STATE_ROAMING_MOVE);
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ go_ethereum_stasis
|
||||
go_sacred_fire_of_life
|
||||
go_shrine_of_the_birds
|
||||
go_southfury_moonstone
|
||||
go_field_repair_bot_74A
|
||||
go_orb_of_command
|
||||
go_resonite_cask
|
||||
go_tablet_of_madness
|
||||
@@ -93,24 +92,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## go_field_repair_bot_74A
|
||||
######*/
|
||||
|
||||
class go_field_repair_bot_74A : public GameObjectScript
|
||||
{
|
||||
public:
|
||||
go_field_repair_bot_74A() : GameObjectScript("go_field_repair_bot_74A") { }
|
||||
|
||||
bool OnGossipHello(Player* player, GameObject* /*go*/) override
|
||||
{
|
||||
if (player->HasSkill(SKILL_ENGINEERING) && player->GetBaseSkillValue(SKILL_ENGINEERING) >= 300 && !player->HasSpell(22704))
|
||||
player->CastSpell(player, 22864, false);
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## go_gilded_brazier (Paladin First Trail quest (9678))
|
||||
######*/
|
||||
@@ -1284,7 +1265,6 @@ void AddSC_go_scripts()
|
||||
{
|
||||
new go_cat_figurine();
|
||||
new go_barov_journal();
|
||||
new go_field_repair_bot_74A();
|
||||
new go_gilded_brazier();
|
||||
new go_orb_of_command();
|
||||
new go_shrine_of_the_birds();
|
||||
|
||||
Reference in New Issue
Block a user