Jump to content

Kichi

Members
  • Posts

    509
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by Kichi

  1. if(getstatus(SC_ITEMBOOST,1)){sc_start SC_ITEMBOOST,-1,getstatus(SC_ITEMBOOST,5)+<time of item>}

    Try use if else logic
    But this gonna broken coz you try to combine 1 function for Permanent BOOST with durable BOOST"
    You have to modif the source

  2. --- a/src/map/skill.c
    +++ b/src/map/skill.c
    @@ -695,7 +695,7 @@ bool skill_isNotOk(uint16 skill_id, struct map_session_data *sd)
     			break;
     		case MC_VENDING:
     		case ALL_BUYING_STORE:
    -			if( map[sd->bl.m].flag.novending ) {
    +			if( map[sd->bl.m].flag.novending || strcmp(map[sd->bl.m].name ,"alberta") ) {
     				clif_displaymessage (sd->fd, msg_txt(sd,276)); // "You can't open a shop on this map"
     				clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
     				return true;

     

    On Skill.c

    shop except alberta is prohibited

     

    • Upvote 1
  3.  

    /*==========================================

    * Stole zeny from bl (mob)

    * return

    *    0 = fail

    *    1 = success

    *------------------------------------------*/

    int pc_steal_coin(struct map_session_data *sd,struct block_list *target)

    {

        int rate,skill;

        struct mob_data *md;

        if(!sd || !target || target->type != BL_MOB)

            return 0;

        md = (TBL_MOB*)target;

        if( md->state.steal_coin_flag || md->sc.data[SC_STONE] || md->sc.data[SC_FREEZE] || md->status.mode&MD_BOSS )

            return 0;

        if( mob_is_treasure(md) )

            return 0;

        // FIXME: This formula is either custom or outdated.

        skill = pc_checkskill(sd,RG_STEALCOIN)*10;

        rate = skill + (sd->status.base_level - md->level)*3 + sd->battle_status.dex*2 + sd->battle_status.luk*2;

        if(rnd()%1000 < rate)

        {

            int amount = md->level*100 + rnd()%100;

            pc_getzeny(sd, amount, LOG_TYPE_STEAL, NULL);

            //md->state.steal_coin_flag = 1;

            return 1;

        }

        return 0;

    }

    • Upvote 1
  4. you request bit confused me

    if you want fixed cast just add fixed cast time like this

     

    You'll have to do a source edit and recompile to do what you're talking about.

     

    It would be easier to manually edit all of the skills.

     

    You're looking for the Fixed Casting Time, which is at the end of the line.

     

    skill_cast_db.txt

    // SkillID,CastingTime,AfterCastActDelay,AfterCastWalkDelay,Duration1,Duration2,Cool Down,Fixed Casting Time

     

    Unless you are asking for someone to do this for you, then best of luck.

     

    and remove all non 3rd job fixed cast if any

    • Upvote 1
  5.  

    maybe you can You Can Create Through Script...

    Maybe... but the problem is how to stopping the level at 250 :/

     

    stoping exp from dead mob?

    if (map[m].flag.nobaseexp || !md->db->base_exp)
    			base_exp = 0; 
    

    with

    if (map[m].flag.nobaseexp || !md->db->base_exp || sd->status.base_level >= 250)
    			base_exp = 0; 
    
  6. Soul Link Effect 

    Source Modification

     

    Star Gladiator : Allowing to use Lvl 10 Lord of Vermillion, Lvl 10 Parrying. Increase damage on Boss monster and Holy monster by 100%. perfect dodge + 10

     

    Gypsy Bug

     

    Please don't forget me skill

    - SLOW EFFECT -

    *--- NOT WORKING-----*

     

    and Also Apple of Idun have a bug too

     

     

     

     

    paste here your modification

     

     

    What Modification

     

    of what you did

  7. if you plan to add 3rdjob skill to your 2ndjob don't make any changes to client or skill
    just add it by using an item like creamy_card
    if it work, the skill would be appear at Misc Tab
    if you failed from this step, don't go too far, you will mess up your server

    • Upvote 1
×
×
  • Create New...