From 2017b0d7f1ce5abe5a9b7cedcb308f0b5463825d Mon Sep 17 00:00:00 2001 From: Logan Date: Sat, 13 Jan 2018 20:48:57 -0800 Subject: [PATCH] Created Perl NPC (markdown) --- Perl-NPC.md | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 Perl-NPC.md diff --git a/Perl-NPC.md b/Perl-NPC.md new file mode 100644 index 0000000..ca109ba --- /dev/null +++ b/Perl-NPC.md @@ -0,0 +1,97 @@ +``` +void NPC::SignalNPC( _signal_id) +void NPC::CheckNPCFactionAlly( other_faction) +void NPC::AddItem( itemid, int charges) +void NPC::AddLootTable( loottable_id) +void NPC::RemoveItem(int item_id, int quantity) +void NPC::ClearItemList() +void NPC::AddCash( in_copper, in_silver, in_gold, in_platinum) +void NPC::RemoveCash() +void NPC::CountLoot() +void NPC::GetLoottableID() +void NPC::GetCopper() +void NPC::GetSilver() +void NPC::GetGold() +void NPC::GetPlatinum() +void NPC::SetCopper( amt) +void NPC::SetSilver( amt) +void NPC::SetGold( amt) +void NPC::SetPlatinum( amt) +void NPC::SetGrid( grid_) +void NPC::SetSaveWaypoint( waypoint) +void NPC::SetSp2( sg2) +void NPC::GetWaypointMax() +void NPC::GetGrid() +void NPC::GetSp2() +void NPC::GetNPCFactionID() +void NPC::GetPrimaryFaction() +void NPC::GetNPCHate( in_ent) +void NPC::IsOnHatelist( p) +void NPC::RemoveFromHateList( ent) +void NPC::SetNPCFactionID( in) +void NPC::GetMaxDMG() +void NPC::GetMinDMG() +void NPC::IsAnimal() +void NPC::GetPetSpellID() +void NPC::SetPetSpellID( amt) +void NPC::GetMaxDamage( tlevel) +void NPC::SetTaunting( tog) +void NPC::PickPocket( thief) +void NPC::StartSwarmTimer(int duration) +void NPC::DoClassAttacks( target) +void NPC::GetMaxWp() +void NPC::DisplayWaypointInfo( to) +void NPC::CalculateNewWaypoint() +void NPC::AssignWaypoints( grid) +void NPC::SetWaypointPause() +void NPC::UpdateWaypoint( wp_index) +void NPC::StopWandering() +void NPC::ResumeWandering() +void NPC::PauseWandering( pausetime) +void NPC::MoveTo( mtx, mty, mtz, mth, bool saveguard) +void NPC::NextGuardPosition() +void NPC::SaveGuardSpot( iClearGuardSpot) +void NPC::IsGuarding() +void NPC::AI_SetRoambox( iDist, iMaxX, iMinX, iMaxY, iMinY, iDelay) +void NPC::GetNPCSpellsID() +void NPC::GetSpawnPointID() +void NPC::GetSpawnPointX() +void NPC::GetSpawnPointY() +void NPC::GetSpawnPointZ() +void NPC::GetSpawnPointH() +void NPC::GetGuardPointX() +void NPC::GetGuardPointY() +void NPC::GetGuardPointZ() +void NPC::SetPrimSkill( skill_id) +void NPC::SetSecSkill( skill_id) +void NPC::GetPrimSkill() +void NPC::GetSecSkill() +void NPC::GetSwarmOwner() +void NPC::GetSwarmTarget() +void NPC::SetSwarmTarget(int target_id) +void NPC::ModifyNPCStat( identifier, newValue) +void NPC::AddAISpell(int priority, spell_id, type, mana_cost, recast_delay, resist_adjust) +void NPC::RemoveAISpell( spell_id) +void NPC::SetSpellFocusDMG( NewSpellFocusDMG) +void NPC::GetSpellFocusDMG() +void NPC::SetSpellFocusHeal( NewSpellFocusHeal) +void NPC::GetSpellFocusHeal() +void NPC::GetSlowMitigation() +void NPC::GetAttackSpeed() +void NPC::GetAttackDelay() +void NPC::GetAccuracyRating() +void NPC::GetAvoidanceyRating() +void NPC::GetSpawnKillCount() +void NPC::GetScore() +void NPC::SetMerchantProbability( Probability) +void NPC::GetMerchantProbability() +void NPC::AddMeleeProc( spellid, chance) +void NPC::AddRangedProc( spellid, chance) +void NPC::AddDefensiveProc( spellid, chance) +void NPC::RemoveMeleeProc( spellid) +void NPC::RemoveRangedProc( spellid) +void NPC::RemoveDefensiveProc( spellid) +void Mob::ChangeLastName(string name) +void Mob::ClearLastName() +void NPC::GetCombatState() +``` \ No newline at end of file