mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-13 18:12:25 +00:00
* [Quest API] Add StatBonuses Class to Perl # Perl - Add `$mob->GetAABonuses()`. - Add `$mob->GetItemBonuses()`. - Add `$mob->GetSpellBonuses()`. - Add `$statbonuses->GetAbsorbMagicAttack(slot)`. - Add `$statbonuses->GetAC()`. - Add `$statbonuses->GetAccuracy(slot)`. - Add `$statbonuses->GetAdjustedCastingSkill()`. - Add `$statbonuses->GetAggroRange()`. - Add `$statbonuses->GetAGI()`. - Add `$statbonuses->GetAGICapModifier()`. - Add `$statbonuses->GetAlterNPCLevel()`. - Add `$statbonuses->GetAmbidexterity()`. - Add `$statbonuses->GetAmplification()`. - Add `$statbonuses->GetAntiGate()`. - Add `$statbonuses->GetArcheryDamageModifier()`. - Add `$statbonuses->GetAssassinate(slot)`. - Add `$statbonuses->GetAssassinateLevel(slot)`. - Add `$statbonuses->GetAssistRange()`. - Add `$statbonuses->GetAStacker(slot)`. - Add `$statbonuses->GetATK()`. - Add `$statbonuses->GetAvoidMeleeChance()`. - Add `$statbonuses->GetAvoidMeleeChanceEffect()`. - Add `$statbonuses->GetBaseMovementSpeed()`. - Add `$statbonuses->GetBerserkSPA()`. - Add `$statbonuses->GetBindWound()`. - Add `$statbonuses->GetBlockBehind()`. - Add `$statbonuses->GetBrassModifier()`. - Add `$statbonuses->GetBStacker(slot)`. - Add `$statbonuses->GetBuffSlotIncrease()`. - Add `$statbonuses->GetCHA()`. - Add `$statbonuses->GetCHACapModifier()`. - Add `$statbonuses->GetChannelChanceItems()`. - Add `$statbonuses->GetChannelChanceSpells()`. - Add `$statbonuses->GetCharmBreakChance()`. - Add `$statbonuses->GetClairvoyance()`. - Add `$statbonuses->GetCombatStability()`. - Add `$statbonuses->GetConsumeProjectile()`. - Add `$statbonuses->GetCorrup()`. - Add `$statbonuses->GetCorrupCapModifier()`. - Add `$statbonuses->GetCR()`. - Add `$statbonuses->GetCRCapModifier()`. - Add `$statbonuses->GetCripplingBlowChance()`. - Add `$statbonuses->GetCriticalDamageModifier(slot)`. - Add `$statbonuses->GetCriticalDoTChance()`. - Add `$statbonuses->GetCriticalDOTDecay()`. - Add `$statbonuses->GetCriticalHealChance()`. - Add `$statbonuses->GetCriticalHealDecay()`. - Add `$statbonuses->GetCriticalHealOverTime()`. - Add `$statbonuses->GetCriticalHitChance(slot)`. - Add `$statbonuses->GetCriticalMend()`. - Add `$statbonuses->GetCriticalRegenDecay()`. - Add `$statbonuses->GetCriticalSpellChance()`. - Add `$statbonuses->GetCStacker(slot)`. - Add `$statbonuses->GetDamageModifier(slot)`. - Add `$statbonuses->GetDamageModifier2(slot)`. - Add `$statbonuses->GetDamageShield()`. - Add `$statbonuses->GetDamageShieldSpellID()`. - Add `$statbonuses->GetDamageShieldType()`. - Add `$statbonuses->GetDeathSave(slot)`. - Add `$statbonuses->GetDelayDeath()`. - Add `$statbonuses->GetDEX()`. - Add `$statbonuses->GetDEXCapModifier()`. - Add `$statbonuses->GetDistanceRemoval()`. - Add `$statbonuses->GetDivineAura()`. - Add `$statbonuses->GetDivineSaveChance(slot)`. - Add `$statbonuses->GetDodgeChance()`. - Add `$statbonuses->GetDOTCriticalDamageIncrease()`. - Add `$statbonuses->GetDoTShielding()`. - Add `$statbonuses->GetDoubleAttackChance()`. - Add `$statbonuses->GetDoubleRangedAttack()`. - Add `$statbonuses->GetDoubleRiposte()`. - Add `$statbonuses->GetDoubleSpecialAttack()`. - Add `$statbonuses->GetDR()`. - Add `$statbonuses->GetDRCapModifier()`. - Add `$statbonuses->GetDSMitigation()`. - Add `$statbonuses->GetDSMitigationOffHand()`. - Add `$statbonuses->GetDStacker(slot)`. - Add `$statbonuses->GetDualWieldChance()`. - Add `$statbonuses->GetEffectiveCastingLevel()`. - Add `$statbonuses->GetEndurancePercentCap(slot)`. - Add `$statbonuses->GetEndurance()`. - Add `$statbonuses->GetEnduranceReduction()`. - Add `$statbonuses->GetEnduranceRegen()`. - Add `$statbonuses->GetExtraXTargets()`. - Add `$statbonuses->GetExtraAttackChance()`. - Add `$statbonuses->GetFactionModifierPercent()`. - Add `$statbonuses->GetFearless()`. - Add `$statbonuses->GetFeignedCastOnChance()`. - Add `$statbonuses->GetFinishingBlow(slot)`. - Add `$statbonuses->GetFinishingBlowLevel(slot)`. - Add `$statbonuses->GetFlurryChance()`. - Add `$statbonuses->GetFocusEffects(slot)`. - Add `$statbonuses->GetFocusEffectsWorn(slot)`. - Add `$statbonuses->GetForageAdditionalItems()`. - Add `$statbonuses->GetFR()`. - Add `$statbonuses->GetFRCapModifier()`. - Add `$statbonuses->GetFrenziedDevastation()`. - Add `$statbonuses->GetFrontalBackstabChance()`. - Add `$statbonuses->GetFrontalBackstabMinimumDamage()`. - Add `$statbonuses->GetFrontalStunResist()`. - Add `$statbonuses->GetGiveDoubleAttack()`. - Add `$statbonuses->GetGiveDoubleRiposte(slot)`. - Add `$statbonuses->GetGivePetGroupTarget()`. - Add `$statbonuses->GetGravityEffect()`. - Add `$statbonuses->GetHaste()`. - Add `$statbonuses->GetHasteType2()`. - Add `$statbonuses->GetHasteType3()`. - Add `$statbonuses->GetHateModifier()`. - Add `$statbonuses->GetHeadShot(slot)`. - Add `$statbonuses->GetHeadShotLevel(slot)`. - Add `$statbonuses->GetHealAmt()`. - Add `$statbonuses->GetHealRate()`. - Add `$statbonuses->GetHeroicAGI()`. - Add `$statbonuses->GetHeroicCHA()`. - Add `$statbonuses->GetHeroicCorrup()`. - Add `$statbonuses->GetHeroicCR()`. - Add `$statbonuses->GetHeroicDEX()`. - Add `$statbonuses->GetHeroicDR()`. - Add `$statbonuses->GetHeroicFR()`. - Add `$statbonuses->GetHeroicINT()`. - Add `$statbonuses->GetHeroicMR()`. - Add `$statbonuses->GetHeroicPR()`. - Add `$statbonuses->GetHeroicSTA()`. - Add `$statbonuses->GetHeroicSTR()`. - Add `$statbonuses->GetHeroicWIS()`. - Add `$statbonuses->GetHitChance()`. - Add `$statbonuses->GetHitChanceEffect(slot)`. - Add `$statbonuses->GetHP()`. - Add `$statbonuses->GetHPPercentCap(slot)`. - Add `$statbonuses->GetHPRegen()`. - Add `$statbonuses->GetHPToManaConvert()`. - Add `$statbonuses->GetHundredHands()`. - Add `$statbonuses->GetIllusionPersistence()`. - Add `$statbonuses->GetImmuneToFlee()`. - Add `$statbonuses->GetImprovedReclaimEnergy()`. - Add `$statbonuses->GetImprovedTauntslot()`. - Add `$statbonuses->GetIncreaseBlockChance()`. - Add `$statbonuses->GetIncreaseChanceMemoryWipe()`. - Add `$statbonuses->GetIncreaseRunSpeedCap()`. - Add `$statbonuses->GetInhibitMelee()`. - Add `$statbonuses->GetINT()`. - Add `$statbonuses->GetINTCapModifier()`. - Add `$statbonuses->GetIsBlind()`. - Add `$statbonuses->GetIsFeared()`. - Add `$statbonuses->GetItemATKCap()`. - Add `$statbonuses->GetItemHPRegenCap()`. - Add `$statbonuses->GetItemManaRegenCap()`. - Add `$statbonuses->GetLimitToSkill(slot)`. - Add `$statbonuses->GetMagicWeapon()`. - Add `$statbonuses->GetMana()`. - Add `$statbonuses->GetManaAbsorbPercentDamage(slot)`. - Add `$statbonuses->GetManaPercentCap(slot)`. - Add `$statbonuses->GetManaRegen()`. - Add `$statbonuses->GetMasteryOfPast()`. - Add `$statbonuses->GetMaxBindWound()`. - Add `$statbonuses->GetMaxHP()`. - Add `$statbonuses->GetMaxHPChange()`. - Add `$statbonuses->GetMeleeLifetap()`. - Add `$statbonuses->GetMeleeMitigation()`. - Add `$statbonuses->GetMeleeMitigationEffect()`. - Add `$statbonuses->GetMeleeRune(slot)`. - Add `$statbonuses->GetMeleeSkillCheck()`. - Add `$statbonuses->GetMeleeSkillCheckSkill()`. - Add `$statbonuses->GetMeleeThresholdGuard(slot)`. - Add `$statbonuses->GetMetabolism()`. - Add `$statbonuses->GetMinimumDamageModifier(slot)`. - Add `$statbonuses->GetMitigateDOTRune(slot)`. - Add `$statbonuses->GetMitigateMeleeRune(slot)`. - Add `$statbonuses->GetMitigateSpellRune(slot)`. - Add `$statbonuses->GetMovementSpeed()`. - Add `$statbonuses->GetMR()`. - Add `$statbonuses->GetMRCapModifier()`. - Add `$statbonuses->GetNegateAttacks(slot)`. - Add `$statbonuses->GetNegateEffects()`. - Add `$statbonuses->GetNegateIfCombat()`. - Add `$statbonuses->GetNoBreakAESneak()`. - Add `$statbonuses->GetOffhandRiposteFail()`. - Add `$statbonuses->GetPackrat()`. - Add `$statbonuses->GetParryChance()`. - Add `$statbonuses->GetPCPetFlurry(slot)`. - Add `$statbonuses->GetPCPetRampage(slot)`. - Add `$statbonuses->GetPercussionModifier()`. - Add `$statbonuses->GetPersistentCasting()`. - Add `$statbonuses->GetPetAvoidance()`. - Add `$statbonuses->GetPetCriticalHit()`. - Add `$statbonuses->GetPetFlurry()`. - Add `$statbonuses->GetPetMaxHP()`. - Add `$statbonuses->GetPetMeleeMitigation()`. - Add `$statbonuses->GetPR()`. - Add `$statbonuses->GetPRCapModifier()`. - Add `$statbonuses->GetProcChance()`. - Add `$statbonuses->GetProcChanceSPA()`. - Add `$statbonuses->GetRaiseSkillCap(slot)`. - Add `$statbonuses->GetReduceFallDamage()`. - Add `$statbonuses->GetReduceTradeskillFail(slot)`. - Add `$statbonuses->GetReflectChance()`. - Add `$statbonuses->GetResistFearChance()`. - Add `$statbonuses->GetResistSpellChance()`. - Add `$statbonuses->GetReverseDamageShield()`. - Add `$statbonuses->GetReverseDamageShieldSpellID()`. - Add `$statbonuses->GetReverseDamageShieldType()`. - Add `$statbonuses->GetRiposteChance()`. - Add `$statbonuses->GetRoot(slot)`. - Add `$statbonuses->GetRootBreakChance()`. - Add `$statbonuses->GetSalvageChance()`. - Add `$statbonuses->GetSanctuary()`. - Add `$statbonuses->GetScreech()`. - Add `$statbonuses->GetSecondaryDamageIncrease()`. - Add `$statbonuses->GetSeeInvis()`. - Add `$statbonuses->GetSEResist(slot)`. - Add `$statbonuses->GetShieldBlock()`. - Add `$statbonuses->GetShieldEquipDamageModifier()`. - Add `$statbonuses->GetShroudOfStealth()`. - Add `$statbonuses->GetSingingModifier()`. - Add `$statbonuses->GetSkillAttackProc(slot)`. - Add `$statbonuses->GetSkillDamageAmount(slot)`. - Add `$statbonuses->GetSkillDamageAmount2(slot)`. - Add `$statbonuses->GetSkillDamageTaken(slot)`. - Add `$statbonuses->GetSkillModifier(slot)`. - Add `$statbonuses->GetSkillModifierMax(slot)`. - Add `$statbonuses->GetSkillProc(slot)`. - Add `$statbonuses->GetSkillProcSuccess(slot)`. - Add `$statbonuses->GetSkillReuseTime(slot)`. - Add `$statbonuses->GetSlayUndead(slot)`. - Add `$statbonuses->GetSongModifierCap()`. - Add `$statbonuses->GetSongRange()`. - Add `$statbonuses->GetSpellCriticalDamageIncreaseNOStack()`. - Add `$statbonuses->GetSpellCriticalDamageIncrease()`. - Add `$statbonuses->GetSpellDamageShield()`. - Add `$statbonuses->GetSpellDamage()`. - Add `$statbonuses->GetSpellOnDeath(slot)`. - Add `$statbonuses->GetSpellOnKill(slot)`. - Add `$statbonuses->GetSpellProcChance()`. - Add `$statbonuses->GetSpellShield()`. - Add `$statbonuses->GetSpellThresholdGuard(slot)`. - Add `$statbonuses->GetSpellTriggers(slot)`. - Add `$statbonuses->GetSTA()`. - Add `$statbonuses->GetSTACapModifier()`. - Add `$statbonuses->GetSTR()`. - Add `$statbonuses->GetSTRCapModifier()`. - Add `$statbonuses->GetStrikeThrough()`. - Add `$statbonuses->GetStringedModifier()`. - Add `$statbonuses->GetStunBashChance()`. - Add `$statbonuses->GetStunResist()`. - Add `$statbonuses->GetTradeSkillMastery()`. - Add `$statbonuses->GetTriggerMeleeThreshold()`. - Add `$statbonuses->GetTriggerOnValueAmount()`. - Add `$statbonuses->GetTriggerSpellThreshold()`. - Add `$statbonuses->GetTripleAttackChance()`. - Add `$statbonuses->GetTripleBackstab()`. - Add `$statbonuses->GetTwoHandBluntBlock()`. - Add `$statbonuses->GetUnfailingDivinity()`. - Add `$statbonuses->GetVampirism()`. - Add `$statbonuses->GetVoiceGraft()`. - Add `$statbonuses->GetWindModifier()`. - Add `$statbonuses->GetWIS()`. - Add `$statbonuses->GetWISCapModifier()`. - Add `$statbonuses->GetXPRateModifier()`. # Notes - Adds methods to get mob's stat bonuses to Mob methods. - Adds support for stat bonuses class to Perl similar to Lua. * Update perl_stat_bonuses.cpp * Update perl_stat_bonuses.cpp
287 lines
5.1 KiB
CMake
287 lines
5.1 KiB
CMake
CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
|
|
|
|
SET(zone_sources
|
|
aa.cpp
|
|
aa_ability.cpp
|
|
aggro.cpp
|
|
aggromanager.cpp
|
|
api_service.cpp
|
|
attack.cpp
|
|
aura.cpp
|
|
beacon.cpp
|
|
bonuses.cpp
|
|
bot.cpp
|
|
bot_raid.cpp
|
|
bot_command.cpp
|
|
bot_database.cpp
|
|
botspellsai.cpp
|
|
cheat_manager.cpp
|
|
client.cpp
|
|
client_bot.cpp
|
|
client_mods.cpp
|
|
client_packet.cpp
|
|
client_process.cpp
|
|
combat_record.cpp
|
|
command.cpp
|
|
corpse.cpp
|
|
data_bucket.cpp
|
|
doors.cpp
|
|
dialogue_window.cpp
|
|
dynamic_zone.cpp
|
|
effects.cpp
|
|
embparser.cpp
|
|
embparser_api.cpp
|
|
embperl.cpp
|
|
encounter.cpp
|
|
entity.cpp
|
|
exp.cpp
|
|
expedition.cpp
|
|
expedition_database.cpp
|
|
expedition_request.cpp
|
|
fastmath.cpp
|
|
fearpath.cpp
|
|
forage.cpp
|
|
groups.cpp
|
|
guild.cpp
|
|
guild_mgr.cpp
|
|
hate_list.cpp
|
|
heal_rotation.cpp
|
|
horse.cpp
|
|
inventory.cpp
|
|
loottables.cpp
|
|
lua_bot.cpp
|
|
lua_bit.cpp
|
|
lua_corpse.cpp
|
|
lua_client.cpp
|
|
lua_door.cpp
|
|
lua_encounter.cpp
|
|
lua_entity.cpp
|
|
lua_entity_list.cpp
|
|
lua_expedition.cpp
|
|
lua_general.cpp
|
|
lua_group.cpp
|
|
lua_hate_list.cpp
|
|
lua_inventory.cpp
|
|
lua_item.cpp
|
|
lua_iteminst.cpp
|
|
lua_mob.cpp
|
|
lua_mod.cpp
|
|
lua_npc.cpp
|
|
lua_object.cpp
|
|
lua_packet.cpp
|
|
lua_parser.cpp
|
|
lua_parser_events.cpp
|
|
lua_raid.cpp
|
|
lua_spawn.cpp
|
|
lua_spell.cpp
|
|
lua_stat_bonuses.cpp
|
|
embperl.cpp
|
|
entity.cpp
|
|
exp.cpp
|
|
fearpath.cpp
|
|
forage.cpp
|
|
global_loot_manager.cpp
|
|
groups.cpp
|
|
guild.cpp
|
|
guild_mgr.cpp
|
|
hate_list.cpp
|
|
horse.cpp
|
|
inventory.cpp
|
|
loottables.cpp
|
|
main.cpp
|
|
map.cpp
|
|
merc.cpp
|
|
mob.cpp
|
|
mob_ai.cpp
|
|
mob_appearance.cpp
|
|
mob_movement_manager.cpp
|
|
mob_info.cpp
|
|
npc.cpp
|
|
npc_scale_manager.cpp
|
|
object.cpp
|
|
oriented_bounding_box.cpp
|
|
pathfinder_interface.cpp
|
|
pathfinder_nav_mesh.cpp
|
|
pathfinder_null.cpp
|
|
pathing.cpp
|
|
perl_bot.cpp
|
|
perl_client.cpp
|
|
perl_doors.cpp
|
|
perl_entity.cpp
|
|
perl_expedition.cpp
|
|
perl_groups.cpp
|
|
perl_hateentry.cpp
|
|
perl_inventory.cpp
|
|
perl_mob.cpp
|
|
perl_npc.cpp
|
|
perl_object.cpp
|
|
perl_perlpacket.cpp
|
|
perl_player_corpse.cpp
|
|
perl_questitem.cpp
|
|
perl_raids.cpp
|
|
perl_spawn.cpp
|
|
perl_spell.cpp
|
|
perl_stat_bonuses.cpp
|
|
perlpacket.cpp
|
|
petitions.cpp
|
|
pets.cpp
|
|
position.cpp
|
|
qglobals.cpp
|
|
queryserv.cpp
|
|
questmgr.cpp
|
|
quest_parser_collection.cpp
|
|
raids.cpp
|
|
raycast_mesh.cpp
|
|
shared_task_zone_messaging.cpp
|
|
spawn2.cpp
|
|
spawn2.h
|
|
spawngroup.cpp
|
|
special_attacks.cpp
|
|
spell_effects.cpp
|
|
spells.cpp
|
|
task_client_state.cpp
|
|
task_manager.cpp
|
|
tasks.cpp
|
|
titles.cpp
|
|
tradeskills.cpp
|
|
trading.cpp
|
|
trap.cpp
|
|
tribute.cpp
|
|
tune.cpp
|
|
water_map.cpp
|
|
water_map_v1.cpp
|
|
water_map_v2.cpp
|
|
waypoints.cpp
|
|
worldserver.cpp
|
|
xtargetautohaters.cpp
|
|
zone.cpp
|
|
zone_config.cpp
|
|
zonedb.cpp
|
|
zone_event_scheduler.cpp
|
|
zone_reload.cpp
|
|
zoning.cpp
|
|
)
|
|
|
|
SET(zone_headers
|
|
aa.h
|
|
aa_ability.h
|
|
aggromanager.h
|
|
api_service.h
|
|
aura.h
|
|
beacon.h
|
|
bot.h
|
|
bot_command.h
|
|
bot_database.h
|
|
bot_structs.h
|
|
cheat_manager.h
|
|
client.h
|
|
client_packet.h
|
|
combat_record.h
|
|
command.h
|
|
common.h
|
|
corpse.h
|
|
data_bucket.h
|
|
doors.h
|
|
dialogue_window.h
|
|
dynamic_zone.h
|
|
embparser.h
|
|
embperl.h
|
|
encounter.h
|
|
entity.h
|
|
errmsg.h
|
|
event_codes.h
|
|
expedition.h
|
|
expedition_database.h
|
|
expedition_request.h
|
|
fastmath.h
|
|
forage.h
|
|
global_loot_manager.h
|
|
groups.h
|
|
guild_mgr.h
|
|
hate_list.h
|
|
heal_rotation.h
|
|
horse.h
|
|
lua_bot.h
|
|
lua_bit.h
|
|
lua_client.h
|
|
lua_corpse.h
|
|
lua_door.h
|
|
lua_encounter.h
|
|
lua_entity.h
|
|
lua_entity_list.h
|
|
lua_expedition.h
|
|
lua_general.h
|
|
lua_group.h
|
|
lua_hate_list.h
|
|
lua_inventory.h
|
|
lua_item.h
|
|
lua_iteminst.h
|
|
lua_mob.h
|
|
lua_mod.h
|
|
lua_npc.h
|
|
lua_object.h
|
|
lua_packet.h
|
|
lua_parser.h
|
|
lua_parser_events.h
|
|
lua_ptr.h
|
|
lua_raid.h
|
|
lua_spawn.h
|
|
lua_spell.h
|
|
lua_stat_bonuses.h
|
|
map.h
|
|
masterentity.h
|
|
merc.h
|
|
mob.h
|
|
mob_movement_manager.h
|
|
npc.h
|
|
npc_scale_manager.h
|
|
object.h
|
|
oriented_bounding_box.h
|
|
pathfinder_interface.h
|
|
pathfinder_nav_mesh.h
|
|
pathfinder_null.h
|
|
perlpacket.h
|
|
petitions.h
|
|
pets.h
|
|
position.h
|
|
qglobals.h
|
|
quest_interface.h
|
|
queryserv.h
|
|
quest_interface.h
|
|
questmgr.h
|
|
quest_parser_collection.h
|
|
raids.h
|
|
raycast_mesh.h
|
|
shared_task_zone_messaging.h
|
|
spawn2.cpp
|
|
spawn2.h
|
|
spawngroup.h
|
|
string_ids.h
|
|
task_client_state.h
|
|
task_manager.h
|
|
tasks.h
|
|
titles.h
|
|
trap.h
|
|
water_map.h
|
|
water_map_v1.h
|
|
water_map_v2.h
|
|
worldserver.h
|
|
xtargetautohaters.h
|
|
zone.h
|
|
zone_event_scheduler.h
|
|
zone_config.h
|
|
zonedb.h
|
|
zonedump.h
|
|
zone_reload.h
|
|
)
|
|
|
|
ADD_EXECUTABLE(zone ${zone_sources} ${zone_headers})
|
|
|
|
INSTALL(TARGETS zone RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
|
|
|
ADD_DEFINITIONS(-DZONE)
|
|
|
|
TARGET_LINK_LIBRARIES(zone ${ZONE_LIBS})
|
|
|
|
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|