Skip to content

Commit

Permalink
kod ve bolge degisiklikleri
Browse files Browse the repository at this point in the history
- korsan adalarindaki cikislar duzenlendi.
- gorev esyalarinin get_proglari birlestirildi.
- skor tablosuna bagisiklikler, zayifliklar, aclik, susuzluk vs eklendi.
- KIDEMLI_OYUNCU_SEVIYESI yerlestirildi.
- get_max_train2() kaldirildi.
- bash_door()'un tutma olasiligi artirildi.
- kod yaziminda duzenlemeler yapildi.
- tuze kabali zeka gerekliligi 20'den 19'a dusuruldu.
- do_rename() yapilinca eski isme ait gorev esyalari extract edilecek.
- her sinif icin her uc olumde karizma ve bunye bir azalacak.
- tum siniflar icin gecerli olacak sekilde, bunyesi 3 olan karakter silinecek.
- samuraylarin silinme kosulu 10 olumden 15 olume cikarildi.
- niteliklerin karizma azalmasi ve artmasi formulu duzenlendi.
- duyuru ve force komutlarinin seviyesi duzenlendi.
- yerden gorev cantasi almakla ilgili hata duzeltildi.
- quest obj artiklari temizlendi.
  • Loading branch information
ozgur yilmaz authored and ozgur yilmaz committed May 24, 2020
1 parent 411ef55 commit a990085
Show file tree
Hide file tree
Showing 19 changed files with 696 additions and 748 deletions.
12 changes: 12 additions & 0 deletions area/korsan_adalari.are
Original file line number Diff line number Diff line change
Expand Up @@ -1850,6 +1850,10 @@ D2
Into the cave~
~
0 -1 17211
D4
Girdab�n ��erisi~
~
0 -1 17271
E
bottom~
Peering deep into the water, you see orange, red and yellow sea urchins
Expand Down Expand Up @@ -2186,6 +2190,10 @@ D2
Up the southern path~
~
0 -1 17207
D4
Havada S�z�l�rken~
~
0 -1 17241
D5
Down a shaft~
hatch~
Expand Down Expand Up @@ -2339,6 +2347,10 @@ from which hot air emanates. It is up these stairs that most of the pirates
scurry when you enter the room.
~
0 8 0
D0
Korsan �ninin ��i~
~
0 -1 17217
D1
The barracks~
~
Expand Down
4 changes: 2 additions & 2 deletions area/limbo.are
Original file line number Diff line number Diff line change
Expand Up @@ -964,8 +964,8 @@ O 89 speech_prog speech_prog_kassandra
*O 87 fight_prog fight_prog_chaos_blade
O 92 wear_prog wear_prog_fire_shield
O 92 remove_prog remove_prog_fire_shield
O 29 get_prog get_prog_quest_hreward
O 30 get_prog get_prog_quest_hreward
O 29 get_prog get_prog_quest_reward
O 30 get_prog get_prog_quest_reward
O 94 get_prog get_prog_quest_reward
O 32 get_prog get_prog_quest_reward
O 33 get_prog get_prog_quest_reward
Expand Down
12 changes: 12 additions & 0 deletions doc/Nitelik.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
N�TEL�KLER

char_data'da nitelikleri tutan iki dizi var.

perm_stat
mod_stat

perm_stat en fazla irktan gelen nitelikle siniftan gelen niteligin toplami kadar olabilir.

mod_stat ise buyu ve esyalarin nitelikler uzerinde yaratacagi degisimdir.

get_curr_stat()'in sonucunun verebilecegi max deger (NPC degilse) perm_stat'tir. o nedenle perm_stat'i en yuksek degerine cikarmis karakter mod_stat'in verecegi artidan etkilenmez, eksiden etkilenir.
17 changes: 17 additions & 0 deletions doc/Yonelim.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
�Y�
�yi �ld�r�rse -> Negatif
Yans�z �ld�r�rse -> Pozitif
Kem �ld�r�rse -> Pozitif

YANSIZ
�yi �ld�r�rse -> Pozitif
Yans�z �ld�r�rse -> Negatif
Kem �ld�r�rse -> Pozitif

KEM
�yi �ld�r�rse -> Pozitif
Yans�z �ld�r�rse -> Pozitif
Kem �ld�r�rse -> Negatif

Her 100 negatifte karakterin karizmas� 1 azal�r.
Her 200 pozitifte karakterin karizmas� 1 artar.
2 changes: 1 addition & 1 deletion src/act_comm.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ void do_kd( CHAR_DATA *ch, char *argument )
else
strcpy(buf,argument);

if (ch->level > 15 && victim->level > 15 )
if (ch->level >= KIDEMLI_OYUNCU_SEVIYESI && victim->level >= KIDEMLI_OYUNCU_SEVIYESI )
{
ch->pcdata->rk_puani -= 1;
}
Expand Down
97 changes: 50 additions & 47 deletions src/act_info.c

Large diffs are not rendered by default.

20 changes: 9 additions & 11 deletions src/act_move.c
Original file line number Diff line number Diff line change
Expand Up @@ -2205,17 +2205,17 @@ void do_train( CHAR_DATA *ch, char *argument )
else
{
strcpy( buf, "Eðitebileceklerin:" );
if ( ch->perm_stat[STAT_STR] < get_max_train2(ch,STAT_STR))
if ( ch->perm_stat[STAT_STR] < get_max_train(ch,STAT_STR))
strcat( buf, " güç" );
if ( ch->perm_stat[STAT_INT] < get_max_train2(ch,STAT_INT))
if ( ch->perm_stat[STAT_INT] < get_max_train(ch,STAT_INT))
strcat( buf, " zek" );
if ( ch->perm_stat[STAT_WIS] < get_max_train2(ch,STAT_WIS))
if ( ch->perm_stat[STAT_WIS] < get_max_train(ch,STAT_WIS))
strcat( buf, " bil" );
if ( ch->perm_stat[STAT_DEX] < get_max_train2(ch,STAT_DEX))
if ( ch->perm_stat[STAT_DEX] < get_max_train(ch,STAT_DEX))
strcat( buf, " çev" );
if ( ch->perm_stat[STAT_CON] < get_max_train2(ch,STAT_CON))
if ( ch->perm_stat[STAT_CON] < get_max_train(ch,STAT_CON))
strcat( buf, " bün" );
if ( ch->perm_stat[STAT_CHA] < get_max_train2(ch,STAT_CHA))
if ( ch->perm_stat[STAT_CHA] < get_max_train(ch,STAT_CHA))
strcat( buf, " kar" );
strcat( buf, " yp mana");

Expand Down Expand Up @@ -2270,7 +2270,7 @@ void do_train( CHAR_DATA *ch, char *argument )
return;
}

if ( ch->perm_stat[stat] >= get_max_train2(ch,stat) )
if ( ch->perm_stat[stat] >= get_max_train(ch,stat) )
{
act( "$T zaten maksimum.", ch, NULL, pOutput, TO_CHAR );
return;
Expand Down Expand Up @@ -2629,9 +2629,7 @@ void do_bash_door( CHAR_DATA *ch, char *argument )
if (IS_AFFECTED(ch,AFF_FLYING))
chance -= 10;

/* level
chance += ch->level / 10;
*/
chance += ch->level / 15;

chance += (get_skill(ch,gsn_bash_door) - 90);

Expand Down Expand Up @@ -3604,7 +3602,7 @@ int send_arrow( CHAR_DATA *ch, CHAR_DATA *victim,OBJ_DATA *arrow , int door, int
if (is_safe(ch,victim) ||
(IS_NPC(victim) && IS_SET(victim->act,ACT_NOTRACK)) )
{
act("$p $e hasar vermeden yerew düþüyor...",victim,arrow,NULL,TO_ALL);
act("$p $e hasar vermeden yere düþüyor...",victim,arrow,NULL,TO_ALL);
act("$p $e hasar vermeden yere düþüyor...",ch,arrow,NULL,TO_CHAR);
obj_to_room(arrow,victim->in_room);
}
Expand Down
11 changes: 2 additions & 9 deletions src/act_obj.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,11 @@ void get_obj( CHAR_DATA *ch, OBJ_DATA *obj, OBJ_DATA *container )
CHAR_DATA *gch;
int members;
char buffer[100];

if ( !CAN_WEAR(obj, ITEM_TAKE) )
{
send_to_char( "Onu alamazsýn.\n\r", ch );
return;
}

if (obj->pIndexData->limit != -1)
{
if ( ( IS_OBJ_STAT(obj, ITEM_ANTI_EVIL) && IS_EVIL(ch) )
Expand All @@ -158,22 +156,19 @@ void get_obj( CHAR_DATA *ch, OBJ_DATA *obj, OBJ_DATA *container )
if( !limit_kontrol(ch,obj) )
return;
}

if ( ch->carry_number + get_obj_number( obj ) > can_carry_n( ch ) )
{
act( "$d: bu kadar çok þey taþýyamazsýn.",
ch, NULL, obj->name, TO_CHAR );
return;
}


if ( get_carry_weight(ch) + get_obj_weight( obj ) > can_carry_w( ch ) )
{
act( "$d: bu kadar aðýrlýk taþýyamazsýn.",
ch, NULL, obj->name, TO_CHAR );
return;
}

if (obj->in_room != NULL)
{
for (gch = obj->in_room->people; gch != NULL; gch = gch->next_in_room)
Expand All @@ -185,7 +180,6 @@ void get_obj( CHAR_DATA *ch, OBJ_DATA *obj, OBJ_DATA *container )
}
}


if ( container != NULL )
{
if (container->pIndexData->vnum == OBJ_VNUM_INVADER_SKULL
Expand All @@ -198,7 +192,6 @@ void get_obj( CHAR_DATA *ch, OBJ_DATA *obj, OBJ_DATA *container )
|| container->pIndexData->vnum == OBJ_VNUM_HUNTER_ALTAR)
{
DESCRIPTOR_DATA *d;

act("$P içinden $p aldýn.", ch, obj, container, TO_CHAR );
if (!IS_AFFECTED(ch,AFF_SNEAK))
act( "$n $P içinden $p aldý.", ch, obj, container, TO_ROOM );
Expand All @@ -215,7 +208,6 @@ void get_obj( CHAR_DATA *ch, OBJ_DATA *obj, OBJ_DATA *container )
act_color("$CKabal gücünde titreme hissediyorsun!$c",
d->character,NULL,NULL,TO_CHAR,POS_DEAD,CLR_GREEN);
}

if (IS_SET(obj->progtypes,OPROG_GET))
(obj->pIndexData->oprogs->get_prog) (obj,ch);
return;
Expand Down Expand Up @@ -265,7 +257,9 @@ void get_obj( CHAR_DATA *ch, OBJ_DATA *obj, OBJ_DATA *container )
{
obj_to_char( obj, ch );
if (IS_SET(obj->progtypes,OPROG_GET))
{
(obj->pIndexData->oprogs->get_prog) (obj,ch);
}
}

return;
Expand Down Expand Up @@ -464,7 +458,6 @@ void do_get( CHAR_DATA *ch, char *argument )
act( "Burada $T yok.", ch, NULL, arg1, TO_CHAR );
return;
}

get_obj( ch, obj, NULL );
}
else
Expand Down
Loading

0 comments on commit a990085

Please sign in to comment.