Zirius 1 Posted October 16, 2014 Ok, i learned that my hercules does not recognize if a player is stepping in water or not, tried replacing water with none and AB works, but some other skill which really needs to be on water will not work, waterball.What controls which is water and not in hercules?31,0,0,10,0,0,0,99,0,0,water,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //AL_HOLYWATER#?????????#86,0,0,15:20:20:25:25:25:25:25:25:25,0,0,0,99,0,0,water,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,I need to fix that. Thanks! Quote Share this post Link to post Share on other sites
0 GmOcean 92 Posted October 17, 2014 Well, incases like WZ_Waterball, it checks to see if the cell type your standing on is water type. if( src->type != BL_PC || map->getcell(src->m,x,y,CELL_CHKWATER) ) // non-players bypass the water requirement count++; // natural water cell else if( (su = map->find_skill_unit_oncell(src,x,y,SA_DELUGE,NULL,1)) != NULL || (su = map->find_skill_unit_oncell(src,x,y,NJ_SUITON,NULL,1)) != NULL ) { count++; // skill-induced water cell skill->delunit(su); // consume cell } However, with AL_HOLYWATER and AB_ANCILLA, there isn't a check atleast, not one directly correlated with it's titles. It just says to produce them at 100%. case AL_HOLYWATER: /** * Arch Bishop **/ case AB_ANCILLA: make_per = 100000; //100% success break; There isn't a check in skill.c for water type, it might be else where but I don't know where to look. 1 Zirius reacted to this Quote Share this post Link to post Share on other sites
0 Zirius 1 Posted October 17, 2014 (edited) Well, incases like WZ_Waterball, it checks to see if the cell type your standing on is water type. if( src->type != BL_PC || map->getcell(src->m,x,y,CELL_CHKWATER) ) // non-players bypass the water requirement count++; // natural water cell else if( (su = map->find_skill_unit_oncell(src,x,y,SA_DELUGE,NULL,1)) != NULL || (su = map->find_skill_unit_oncell(src,x,y,NJ_SUITON,NULL,1)) != NULL ) { count++; // skill-induced water cell skill->delunit(su); // consume cell }However, with AL_HOLYWATER and AB_ANCILLA, there isn't a check atleast, not one directly correlated with it's titles. It just says to produce them at 100%.case AL_HOLYWATER: /** * Arch Bishop **/ case AB_ANCILLA: make_per = 100000; //100% success break;There isn't a check in skill.c for water type, it might be else where but I don't know where to look. Thank you very much sir, because of your reply I deduced that it is the mapcache.datI wonder why my first mapcache.dat is having trouble. But it is solved now. Thank you very much! Edited October 17, 2014 by Zirius Quote Share this post Link to post Share on other sites
Ok, i learned that my hercules does not recognize if a player is stepping in water or not, tried replacing water with none and AB works, but some other skill which really needs to be on water will not work, waterball.
What controls which is water and not in hercules?
31,0,0,10,0,0,0,99,0,0,water,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //AL_HOLYWATER#?????????#
86,0,0,15:20:20:25:25:25:25:25:25:25,0,0,0,99,0,0,water,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
I need to fix that. Thanks!
Share this post
Link to post
Share on other sites