Issue Information
-
#008088
-
0 - None Assigned
-
Working as Intended
Issue Confirmations
-
Yes (0)No (0)
mob_skill_db.txt and mob_skill_db2.txt
4: added for all mobs.
it should be
3: added for all mobs.
4: added for all mobs.
it should be
3: added for all mobs.
I spoke with Haruna and he told me that it is intended.
[11:31:30] <&Haruna> it uses bit masks
65][11:31:37] <&Haruna> so 4 is correct
changed severity to: 1 - Low,
changed status to: Working as Intended,
changed severity to: 0 - None Assigned
I spoke with Haruna and he told me that it is intended.
[11:31:30] <&Haruna> it uses bit masks
65][11:31:37] <&Haruna> so 4 is correct
if it was set to 4 will continue the loop
for (i = 1; i < MAX_MOB_DB; i++) { if (mob->db_data[i] == NULL) continue; if (mob->db_data[i]->status.mode&MD_BOSS) { if (!(mob_id&2)) //Skill not for bosses continue; } else if (!(mob_id&1)) //Skill not for normal enemies. continue; ARR_FIND( 0, MAX_MOBSKILL, j, mob->db_data[i]->skill[j].skill_id == 0 ); if(j==MAX_MOBSKILL) continue; memcpy (&mob->db_data[i]->skill[j], ms, sizeof(struct mob_skill)); mob->db_data[i]->maxskill=j+1; }
yes it should continue loop so that 'added for all mobs' is true and if was set as 3 it will be 'not added for all mobs'if it was set to 4 will continue the loop
yes it should continue loop so that 'added for all mobs' is true and if was set as 3 it will be 'not added for all mobs'
if it was set to 4 will continue the loop
Sorry, the word continue what I mean was continue statement which skip the rest of the code in the current loop.
if set to 4, skill won't be added to any mob
Edited by Angelmelody, 15 March 2014 - 06:40 PM.