Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/30/19 in Posts

  1. Heya, These are ground unit skills. You'll want to skip the BL_PC check and then adjust the skill ratios to battle.cpp: diff --git a/src/map/battle.cpp b/src/map/battle.cpp index de8167f4a..904a672d8 100644 --- a/src/map/battle.cpp +++ b/src/map/battle.cpp @@ -4354,6 +4354,13 @@ static int battle_calc_attack_skill_ratio(struct Damage* wd, struct block_list * if (sd && pc_checkskill(sd, SU_SPIRITOFLIFE)) skillratio += skillratio * status_get_hp(src) / status_get_max_hp(src); break; + case SG_SUN_WARM: + case SG_MOON_WARM: + case SG_STAR_WARM: + if (tsd) { + skillratio += -50; + } + break; } return skillratio; } diff --git a/src/map/skill.cpp b/src/map/skill.cpp index 3b7b4ba86..7656a247f 100755 --- a/src/map/skill.cpp +++ b/src/map/skill.cpp @@ -13795,7 +13795,7 @@ int skill_unit_onplace_timer(struct skill_unit *unit, struct block_list *bl, t_t do { if( bl->type == BL_PC ) status_zap(bl, 0, 15); // sp damage to players - else // mobs + if( status_charge(ss, 0, 2) ) { // costs 2 SP per hit if( !skill_attack(BF_WEAPON,ss,&unit->bl,bl,sg->skill_id,sg->skill_lv,tick+(t_tick)count*sg->interval,0) ) status_charge(ss, 0, 8); //costs additional 8 SP if miss
    2 points
  2. Yes, when you "receive" the item in your inventory, the button will display properly because it uses the clif_additem packet. I meant how you receive the item information packet-wise, not the source of where it came from (though that's related of course). As for why 20285 shows up and 20286 doesn't, that is because 20285 has a hat effect and these are not displayed on the client with the feature. You can remove the item from the list by opening hateffectinfo.lub and then removing the ids from effectHatItemTable. It's probably best to keep the button disabled for that one though.
    1 point
  3. Heya, I presume you're talking about the "Preview" button from the item descriptions? If so, then it's not a file, this is decided server-side. How you receive the item makes the button appear or not. If you look in the clif_vendinglist function, you'll see some item packets sent to the client have 6 extra bytes. This part in particular: WFIFOL(fd,offset+47+i*item_length) = pc_equippoint_sub(sd,data); WFIFOW(fd,offset+51+i*item_length) = data->look; The data->look is the actual view ID that will be shown on the client for the item after clicking the button. The pc_equippoint_sub decides whether the client should display the button or not. The problem with that system is that many packets don't have that feature. If you try to preview the item from a shop NPC, it won't give you the option either. If you put the item in your cart, the button will disappear as well, etc. It's just very unreliable overall. kRO added more "locations" where this feature is available, though.
    1 point
  4. View File - Grand Arena PvP - [FREE RELEASE | DO NOT OWN DO NOT SELL ] Please do not own / do not sell If you need assistance kindly message me here or contact me via my facebook accounts https://www.facebook.com/JRDV8 https://www.facebook.com/profile.php?id=100011583280160 Special Thanks to @GodKnows Jhomz for prodiving me all the files necessary ? Hello again @Syouji i hope this will be good thanks haha i remember my epic upload last time thanks for letting me know about the details. Submitter DaemonSpade Submitted 07/29/2019 Category Maps & 3D Resources Video Content Author DaemonSpade  
    1 point
  5. Reminds me of Arc, some shooter from the 80s or something
    1 point
  6. Put the file rapa_flag.gr2 in your data/model/3dmob/ folder... Than you modify jobname.lua/lub wich is located inside \data\luafiles514\lua files\datainfo\ at this line [jobtbl.JT_GUILD_FLAG] = "rapa_flag.gr2", <- the gr2 file would have the orignal flag name which I forgot but you got the point... Hope you get it ;]
    1 point
  7. vampire.txt Line 4246: "If you want refine your equipment, then go to the Illusion Echanter."; "If you want refine your equipment, then go to the Illusion E"n"chanter."; ======================================================== Line 663,929,1222,1242,2811,2851,3468: ^0000FFafer dawn^000000."; ^0000FFaf"t"er dawn^000000."; ======================================================== Line 3301:: Oh, oome on! You know I've been"; Oh, 'c'ome on! You know I've been"; ======================================================= Line 3510: You two get along aw well as I remember."); You two get along a's' well as I remember."); ======================================================= Line 3350: "Be honet, though. "Be hone's't, though.
    1 point
  8. Source edit. Do-able since this would work the same way as the KS protection system they have in place.
    1 point
×
×
  • Create New...