From dbfb350ce250e7b3766491cb1c89d37113af7d9f Mon Sep 17 00:00:00 2001 From: Freaksken Date: Tue, 11 Jul 2017 08:07:10 +0200 Subject: [PATCH] FCNPC-A.I. 1.1.1 --- CHANGELOG.md | 20 ++++++++++++++++++++ include/FAI.inc | 2 +- src/FAI.pwn | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd52743..1efc012 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,26 @@ FCNPC A.I. ========== +1.1.1 +----- + +- Added behaviour +- Added billion suffix to FAI_SHORTEN_HEALTH +- Added special distance value -1 to FAI_SetBossRangedAttackInfo and FAI_SetBossMeleeAttackInfo to keep the NPC in place when attacking +- Renamed FAI_SHORTEN_HEALTH to FAI_SHORTEN_NUMBERS +- Renamed distance parameter from FAI_GetBossRangedAttackInfo, FAI_SetBossRangedAttackInfo, FAI_GetBossMeleeAttackInfo and FAI_SetBossMeleeAttackInfo to range +- Deleted spell and percent types +- Deleted FAI_CreateFull... natives +- Changed max health default to 100.0 +- Changed display range default to 0.0 +- Changed move type default to MOVE_TYPE_AUTO and changed move type default in FAI_SetBossMoveInfo to MOVE_TYPE_AUTO +- Changed allow NPC targets default to true +- Fixed unnecessary loop in FAI_DestroyAllSpells +- Added an additional check to FAI_IsPlayerInDisplayRange and FAI_IsPlayerInAggroRange +- Examples updated with above changes +- Added SummonAdds spell to MMO example +- Added reduce cast progress a bit when damaged to MMO example + 1.1.0 ----- diff --git a/include/FAI.inc b/include/FAI.inc index 4b8cc45..aa8ecf9 100644 --- a/include/FAI.inc +++ b/include/FAI.inc @@ -115,7 +115,7 @@ forward FAI_OnBossStopCasting(bossid, spellid, targetid, bool:castComplete); //General //Include guards are already built into pawn, so no need to check #include -#define FAI_VERSION "1.1.0" +#define FAI_VERSION "1.1.1" #if !defined FAI_USE_MAP_ANDREAS #define FAI_USE_MAP_ANDREAS false #endif diff --git a/src/FAI.pwn b/src/FAI.pwn index f4b4ba2..1a213ee 100644 --- a/src/FAI.pwn +++ b/src/FAI.pwn @@ -115,7 +115,7 @@ forward FAI_OnBossStopCasting(bossid, spellid, targetid, bool:castComplete); //General //Include guards are already built into pawn, so no need to check #include -#define FAI_VERSION "1.1.0" +#define FAI_VERSION "1.1.1" #if !defined FAI_USE_MAP_ANDREAS #define FAI_USE_MAP_ANDREAS false #endif