This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case TF_BACKSLIDING: //This is the correct implementation as per packet logging information. [Skotlex] | |
clif_skill_nodamage(src,bl,skill_id,skill_lv,1); | |
skill_blown(src,bl,skill_get_blewcount(skill_id,skill_lv),unit_getdir(bl),2); | |
break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/Commands.pm | |
=================================================================== | |
--- src/Commands.pm (revision 9032) | |
+++ src/Commands.pm (working copy) | |
@@ -236,6 +236,10 @@ | |
southeast => \&cmdManualMove, | |
southwest => \&cmdManualMove, | |
captcha => \&cmdAnswerCaptcha | |
+ | |
+ # [Cydh] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macro doConvSteel { | |
$per = @eval($.weight * 100 / $.maxweight) | |
# log \$per $per | |
$count = @invamount (Tsurugi [1]) | |
while ($count > 0 && $per < 90) as loop | |
do ss GN_CHANGEMATERIAL | |
pause 2 | |
$idx = @inventory (Tsurugi [1]) | |
# log \$idx $idx | |
do cm $idx 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Macro to Exchange Material (GN_CHANGEMATERIAL) | |
# Creating Alchol/Alcohol by each 50 Orcish Voucer + 40 Skel-Bone | |
# | |
# PLEASE MAKE SURE YOUR OPENKORE IS SUPPORTED BY cm COMMAND, OR | |
# TRY USE THIS MY BRANCH: https://github.com/cydh/openkore/tree/feature/skill_exchange_item | |
# | |
# (c) Cydh/PServeRO.com | |
macro doConvAlchol { | |
log doConvAlchol |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple macro to convert Rough Oridecon to Oridecon | |
# by talking with NPC Dietrich inside the Prontera's refinery building | |
# | |
# HOW TO USE: | |
# 1. Manually move Rough Oridecon to inventory | |
# 2. Walk into Dietrich location | |
# 3. Call teh macro in console: macro doConvOri | |
# | |
# (c) Cydh/PServeRO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Macro Collection for Change Material skill (GN_CHANGEMATERIAL) | |
# 1. Exchange Skel-Bone & Orcish Voucher to Alchol | |
# 2. Tsurugi [1] to Steel | |
# 3. Guard to Coal | |
# | |
# PLEASE MAKE SURE YOUR OPENKORE IS SUPPORTED BY cm COMMAND, OR | |
# TRY USE THIS MY BRANCH: https://github.com/cydh/openkore/tree/feature/skill_exchange_item | |
# | |
# (c) Cydh/PServeRO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automacro to cast Full Chemical Protection (FCP) on chat | |
automacro fcp { | |
pubm "fcp",2 | |
call { | |
if (@eval(checkPlayerGuild("$.lastpub")) == 1) { | |
do sp CR_FULLPROTECTION "$.lastpub" | |
} else { | |
do e ?? | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/map/clif.c b/src/map/clif.c | |
index 9387c3f..ccf134f 100644 | |
--- a/src/map/clif.c | |
+++ b/src/map/clif.c | |
@@ -5820,10 +5820,17 @@ void clif_cooking_list(struct map_session_data *sd, int trigger, uint16 skill_id | |
/// 0196 <index>.W <id>.L <state>.B (ZC_MSG_STATE_CHANGE) [used for ending status changes and starting them on non-pc units (when needed)] | |
/// 043f <index>.W <id>.L <state>.B <remain msec>.L { <val>.L }*3 (ZC_MSG_STATE_CHANGE2) [used exclusively for starting statuses on pcs] | |
/// 0983 <index>.W <id>.L <state>.B <total msec>.L <remain msec>.L { <val>.L }*3 (ZC_MSG_STATE_CHANGE3) (PACKETVER >= 20120618) | |
-void clif_status_change_sub(struct block_list *bl,int type,int flag,int tick,int val1, int val2, int val3, enum send_target target_type) | |
+/// @param bl Show/send packet to clients around this object |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Written by me, Cydh | |
// For rathena.org | |
// Autoload atcommand for players on login | |
prontera,147,155,5 script Kafra#saveyouratcmd 4_F_KAFRA4,{ | |
mes .npc$; | |
mes "Hi, you can select command that auto enable when you login."; | |
next; | |
switch(select("Select commands","Close")) { | |
case 1: | |
callsub(OnSelectCommand); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prontera,109,187,3 script Crimson Weapon Enchanter 4_F_KAFRA3,{ | |
mes "[Kafra]"; | |
.@i = getequipid(EQI_HAND_R); | |
if (.@i == -1) { | |
mes "You don't hold any weapon!"; | |
close; | |
} | |
mes "What element you want to endow?"; | |
next; | |
.@menu$ = ""; |
OlderNewer