-
Posts
461 -
Joined
-
Last visited
-
Days Won
3
WhiteEagle last won the day on April 14
WhiteEagle had the most liked content!
About WhiteEagle
- Birthday 02/20/1988
Profile Information
-
Gender
Male
-
Location
Germany
Recent Profile Visitors
5158 profile views
WhiteEagle's Achievements
-
Code for "read" the user level? For "zenny cost per level"
WhiteEagle replied to aleph075's question in Scripting Support
Yea BaseLevel is used in scripts. For source you need sd->status.base_level if i remember correct. -
Code for "read" the user level? For "zenny cost per level"
WhiteEagle replied to aleph075's question in Scripting Support
You can use stuff like this: Zeny -= value * BaseLevel; or like Rynbef said, do if checks like if (BaseLevel >= 30) Zeny -= 2000; else if (BaseLevel >= 20) Zeny -= 1000; and so on -
Sí, debería estar bien.
-
src/status.cpp search for: // Skill-related recovery (only when sit) there you can edit the source. ^-^
-
src/skill.cpp case NV_FIRSTAID: clif_skill_nodamage(src,bl,skill_id,5,1); status_heal(bl,5,0,0); <---- just change 5 to your wished amount break;
-
problems with status boxes in client
WhiteEagle replied to Sarbrak's question in Client-side Support
-
You talk about the client date, not the rAthena version. Im confused how do you able to use rAthena when you don't know what rAthena is. xD
-
Looks like you use a really old version of rAthena. Well, in atcommand.cpp, you can search for mobinfo and scroll down to // drops In the latest rAthena, the part looks like this: int droprate = mob_getdroprate( &sd->bl, mob, mob->dropitem[i].rate, drop_modifier ); sprintf(atcmd_output2, " - %s %02.02f%%", item_db.create_item_link( id ).c_str(), (float)droprate / 100); So, if you want to get displayed in @mi your bubblegum, you need to add the part with the SC_ITEMBOOST in mob.cpp
-
You seem to have misunderstood his issue. The problem is not about displaying the exact value with 5 decimal places or how its calculated ^^, but rather that nothing changes for him, whether with or without Bubble Gum active (SC_ITEMBOOST). And you said, its not changing at @mi or @monsterinfo if u are using bubble gum or HE gum, but it does. I don't talk about the calculation for 100%, 200% or other SC_ITEMBOOST value. Just, when you are using an Item with SC_ITEMBOOST, it's showing in @mi, that what he ask for.
-
Could you post here your entrys? Without it, it's really hard to help/find the problem.
-
I have added a custom skill, but I have the problem that the player's weapon is not displayed. Like with SM_BASH, for example. How and where do I have to set this? I would appreciate your help, thank you.
-
Well, you can search in mob.cpp for: if (src) { if (battle_config.drops_by_luk) // Drops affected by luk as a fixed increase [Valaris] drop_rate += status_get_luk(src) * battle_config.drops_by_luk / 100; if (battle_config.drops_by_luk2) // Drops affected by luk as a % increase [Skotlex] drop_rate += (int)(0.5 + drop_rate * status_get_luk(src) * battle_config.drops_by_luk2 / 10000.); There should be a part with if (sd->sc.getSCE(SC_ITEMBOOST)) drop_rate_bonus += sd->sc.getSCE(SC_ITEMBOOST)->val1;
-
-
-
This refers to the fact that it is easier and faster to reduce the player's HP/SP than to use skills for 5 minutes. !heal 0 -1500 as an example would have deducted 1500 SP from you, triggering the AutoPot. Was just a help to make your videos shorter