Browse Source

Inverted the way monster_ai 0x200 works, default is 0 again (followup to r13667).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13668 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 16 years ago
parent
commit
66f7ed7239
3 changed files with 7 additions and 6 deletions
  1. 1 0
      conf/Changelog.txt
  2. 5 5
      conf/battle/monster.conf
  3. 1 1
      src/map/mob.c

+ 1 - 0
conf/Changelog.txt

@@ -1,6 +1,7 @@
 Date	Added
 
 2009/04/10
+	* Rev. 13668 Inverted the way monster_ai 0x200 works, default is 0 again. [ultramage]
 	* Rev. 13667 Default value for monster_ai is now 0x200. [L0ne_W0lf]
 2009/04/02
 	* Uncommented pvp_room in maps_athena.conf [Playtester]

+ 5 - 5
conf/battle/monster.conf

@@ -55,14 +55,14 @@ monster_max_aspd: 199
 // 0x100: When set, a mob will pick a random skill from it's list and start from
 //        that instead of checking skills in orders (when unset, if a mob has too
 //        many skills, the ones near the end will rarely get selected)
-// 0x200: When set, a mob's skill re-use delay will be applied to all entries of
-//        the same skill, instead of only that particular entry (eg: Mob has heal
-//        on six lines for different conditions, when set, whenever one of the six 
-//        trigger, all of them will share the delay
+// 0x200: When set, a mob's skill re-use delay will not be applied to all entries of
+//        the same skill, instead, only to that particular entry (eg: Mob has heal
+//        on six lines in the mob_skill_db, only the entry that is actually used
+//        will receive the delay). This will make monsters harder, especially MvPs.
 // 0x400: By default mobs have a range of 9 for all skills. Set this to enforce
 //        the normal skill range rules on them.
 // Example: 0x140 -> Chase players through warps + use skills in random order.
-monster_ai: 0x200
+monster_ai: 0
 
 // Should mobs be able to be warped (add as needed)?
 // 0: Disable.

+ 1 - 1
src/map/mob.c

@@ -3046,7 +3046,7 @@ int mobskill_use(struct mob_data *md, unsigned int tick, int event)
 				continue;
 		}
 		//Skill used. Post-setups... 
-		if(battle_config.mob_ai&0x200)
+		if(!(battle_config.mob_ai&0x200))
 		{ //pass on delay to same skill.
 			for (j = 0; j < md->db->maxskill; j++)
 				if (md->db->skill[j].skill_id == ms[i].skill_id)