• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

main code repository.


Commit MetaInfo

Revision2c6bb3beee3d809591d6a8c3aea2faa0cb7be824 (tree)
Zeit2016-05-18 00:32:17
Autormasakih <masakih@user...>
Commitermasakih

Log Message

制空値の端数処理を修正

Ändern Zusammenfassung

Diff

--- a/KCD/HMKCShipObject+Extensions.m
+++ b/KCD/HMKCShipObject+Extensions.m
@@ -348,7 +348,7 @@ static NSArray *levelUpExps = nil;
348348 return slotItem;
349349 }
350350
351-- (CGFloat)floatSeikuWithSlotIndex:(NSUInteger)index
351+- (NSInteger)floatSeikuWithSlotIndex:(NSUInteger)index
352352 {
353353 NSArray *effectiveTypes = @[@6, @7, @8, @11, @45];
354354
@@ -371,7 +371,7 @@ static NSArray *levelUpExps = nil;
371371
372372 return totalSeiku;
373373 }
374-- (CGFloat)extraSeikuWithSlotIndex:(NSUInteger)index
374+- (NSInteger)extraSeikuWithSlotIndex:(NSUInteger)index
375375 {
376376 NSArray *fighterTypes = @[@6];
377377 NSArray *bomberTypes = @[@7];
@@ -423,7 +423,7 @@ static NSArray *levelUpExps = nil;
423423 return extraSeiku;
424424 }
425425
426-- (CGFloat)seikuWithSlotIndex:(NSUInteger)index
426+- (NSInteger)seikuWithSlotIndex:(NSUInteger)index
427427 {
428428 NSInteger seiku = [self floatSeikuWithSlotIndex:index] + [self extraSeikuWithSlotIndex:index];
429429 return seiku;