- Updated SKA to return a random value between 0 and 99 each time status_get_def is invoked.
- Updated Making Arrow to not include unidentified items in the list. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6540 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
61b786eceb
commit
fd4f9d05ef
@ -4,6 +4,10 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2006/05/09
|
2006/05/09
|
||||||
|
* Updated SKA to return a random value between 0 and 99 each time
|
||||||
|
status_get_def is invoked. [Skotlex]
|
||||||
|
* Updated Making Arrow to not include unidentified items in the list.
|
||||||
|
[Skotlex]
|
||||||
* Reduced drop slots from 15 to 10. [Skotlex]
|
* Reduced drop slots from 15 to 10. [Skotlex]
|
||||||
* Updated mob_db.sql with the current data. [Skotlex]
|
* Updated mob_db.sql with the current data. [Skotlex]
|
||||||
* Updated setoption script command to receive a second (optional) argument
|
* Updated setoption script command to receive a second (optional) argument
|
||||||
|
@ -2968,7 +2968,7 @@ int clif_arrow_create_list(struct map_session_data *sd)
|
|||||||
for (i = 0, c = 0; i < MAX_SKILL_ARROW_DB; i++) {
|
for (i = 0, c = 0; i < MAX_SKILL_ARROW_DB; i++) {
|
||||||
if (skill_arrow_db[i].nameid > 0 &&
|
if (skill_arrow_db[i].nameid > 0 &&
|
||||||
(j = pc_search_inventory(sd, skill_arrow_db[i].nameid)) >= 0 &&
|
(j = pc_search_inventory(sd, skill_arrow_db[i].nameid)) >= 0 &&
|
||||||
!sd->status.inventory[j].equip)
|
!sd->status.inventory[j].equip && sd->status.inventory[j].identify)
|
||||||
{
|
{
|
||||||
if ((j = itemdb_viewid(skill_arrow_db[i].nameid)) > 0)
|
if ((j = itemdb_viewid(skill_arrow_db[i].nameid)) > 0)
|
||||||
WFIFOW(fd,c*2+4) = j;
|
WFIFOW(fd,c*2+4) = j;
|
||||||
|
@ -2046,10 +2046,10 @@ int status_calc_def(struct block_list *bl, int def)
|
|||||||
return 0;
|
return 0;
|
||||||
if(sc->data[SC_KEEPING].timer!=-1)
|
if(sc->data[SC_KEEPING].timer!=-1)
|
||||||
return 100;
|
return 100;
|
||||||
|
if(sc->data[SC_SKA].timer != -1)
|
||||||
|
return rand()%100; //Reports indicate SKA actually randomizes defense.
|
||||||
if(sc->data[SC_STEELBODY].timer!=-1)
|
if(sc->data[SC_STEELBODY].timer!=-1)
|
||||||
return 90;
|
return 90;
|
||||||
if(sc->data[SC_SKA].timer != -1) // [marquis007]
|
|
||||||
return 90;
|
|
||||||
if(sc->data[SC_DRUMBATTLE].timer!=-1)
|
if(sc->data[SC_DRUMBATTLE].timer!=-1)
|
||||||
def += sc->data[SC_DRUMBATTLE].val3;
|
def += sc->data[SC_DRUMBATTLE].val3;
|
||||||
if(sc->data[SC_INCDEFRATE].timer!=-1)
|
if(sc->data[SC_INCDEFRATE].timer!=-1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user